Color #c8129e
A vivid, highly saturated medium magenta.
Conversions
#c8129e
rgb(200, 18, 158)
hsl(313.8, 83.5%, 42.7%)
hsv(313.8, 91%, 78.4%)
cmyk(0%, 91%, 21%, 21.6%)
lab(45.89, 74.47, -28.56)
lch(45.89, 79.76, 339.02)
oklch(56.5%, 0.2369, 341.01)
hwb(313.8, 7.1%, 21.6%)
Harmony colors
Accessibility
White text reads better on this background (5.2:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9b9a8c · ΔE 42.6
Deuteranopia
#a2ab87 · ΔE 57.4
Tritanopia
#c47b76 · ΔE 27.7
Achromatopsia
#6d6d6d · ΔE 28.6
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c8129e;
bg-[#c8129e]
Related colors
Frequently asked questions
#c8129e (#c8129e) is rgb(200, 18, 158) in RGB.
No, #c8129e 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 #c8129e, or check how it holds up for accessibility.