Color #cf22b5
A vivid, highly saturated medium magenta.
Conversions
#cf22b5
rgb(207, 34, 181)
hsl(309, 71.8%, 47.3%)
hsv(309, 83.6%, 81.2%)
cmyk(0%, 83.6%, 12.6%, 18.8%)
lab(49.19, 76.18, -36.92)
lch(49.19, 84.66, 334.14)
oklch(59.5%, 0.2453, 335.68)
hwb(309, 13.3%, 18.8%)
Harmony colors
Accessibility
White text reads better on this background (4.62:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a2a1a1 · ΔE 33
Deuteranopia
#a9b19b · ΔE 51.7
Tritanopia
#ca8e89 · ΔE 30.1
Achromatopsia
#757575 · ΔE 29.2
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #cf22b5;
bg-[#cf22b5]
Related colors
Frequently asked questions
#cf22b5 (#cf22b5) is rgb(207, 34, 181) in RGB.
No, #cf22b5 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 #cf22b5, or check how it holds up for accessibility.