Color #c7129e
A vivid, highly saturated medium magenta.
Conversions
#c7129e
rgb(199, 18, 158)
hsl(313.6, 83.4%, 42.5%)
hsv(313.6, 91%, 78%)
cmyk(0%, 91%, 20.6%, 22%)
lab(45.7, 74.27, -28.87)
lch(45.7, 79.68, 338.76)
oklch(56.4%, 0.2364, 340.74)
hwb(313.6, 7.1%, 22%)
Harmony colors
Accessibility
White text reads better on this background (5.24:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9b9a8c · ΔE 42.7
Deuteranopia
#a2aa87 · ΔE 56.7
Tritanopia
#c37b76 · ΔE 27.8
Achromatopsia
#6c6c6c · ΔE 28.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c7129e;
bg-[#c7129e]
Related colors
Frequently asked questions
#c7129e (#c7129e) is rgb(199, 18, 158) in RGB.
No, #c7129e is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #c7129e, or check how it holds up for accessibility.