Color #c2279f
A moderately saturated medium magenta.
Conversions
#c2279f
rgb(194, 39, 159)
hsl(313.5, 66.5%, 45.7%)
hsv(313.5, 79.9%, 76.1%)
cmyk(0%, 79.9%, 18%, 23.9%)
lab(46.21, 69.34, -28.73)
lch(46.21, 75.06, 337.49)
oklch(56.6%, 0.2209, 339.37)
hwb(313.5, 15.3%, 23.9%)
Harmony colors
Accessibility
White text reads better on this background (5.14:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#98978d · ΔE 39
Deuteranopia
#9fa689 · ΔE 52.8
Tritanopia
#be7d79 · ΔE 27
Achromatopsia
#6d6d6d · ΔE 28
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c2279f;
bg-[#c2279f]
Related colors
Frequently asked questions
#c2279f (#c2279f) is rgb(194, 39, 159) in RGB.
No, #c2279f 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 #c2279f, or check how it holds up for accessibility.