Color #c42796
A moderately saturated medium magenta.
Conversions
#c42796
rgb(196, 39, 150)
hsl(317.6, 66.8%, 46.1%)
hsv(317.6, 80.1%, 76.9%)
cmyk(0%, 80.1%, 23.5%, 23.1%)
lab(46.17, 68.64, -23.38)
lch(46.17, 72.51, 341.19)
oklch(56.5%, 0.2165, 343.2)
hwb(317.6, 15.3%, 23.1%)
Harmony colors
Accessibility
White text reads better on this background (5.15:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9a9985 · ΔE 44.3
Deuteranopia
#a0a881 · ΔE 56.1
Tritanopia
#c07672 · ΔE 25.1
Achromatopsia
#6d6d6d · ΔE 27.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c42796;
bg-[#c42796]
Related colors
Frequently asked questions
#c42796 (#c42796) is rgb(196, 39, 150) in RGB.
No, #c42796 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 #c42796, or check how it holds up for accessibility.