Color #d01ec2
A vivid, highly saturated medium magenta.
Conversions
#d01ec2
rgb(208, 30, 194)
hsl(304.7, 74.8%, 46.7%)
hsv(304.7, 85.6%, 81.6%)
cmyk(0%, 85.6%, 6.7%, 18.4%)
lab(49.78, 78.94, -43.55)
lch(49.78, 90.16, 331.12)
oklch(60.2%, 0.2566, 332.1)
hwb(304.7, 11.8%, 18.4%)
Harmony colors
Accessibility
Black text reads better on this background (4.65:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a2a1ac · ΔE 31.2
Deuteranopia
#a9b2a6 · ΔE 47.5
Tritanopia
#cb9792 · ΔE 32.1
Achromatopsia
#767676 · ΔE 29.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #d01ec2;
bg-[#d01ec2]
Related colors
Frequently asked questions
#d01ec2 (#d01ec2) is rgb(208, 30, 194) in RGB.
No, #d01ec2 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 #d01ec2, or check how it holds up for accessibility.