Color #d311c2
A vivid, highly saturated medium magenta.
Conversions
#d311c2
rgb(211, 17, 194)
hsl(305.3, 85.1%, 44.7%)
hsv(305.3, 91.9%, 82.7%)
cmyk(0%, 91.9%, 8.1%, 17.3%)
lab(49.68, 81.35, -43.69)
lch(49.68, 92.34, 331.76)
oklch(60.2%, 0.264, 332.87)
hwb(305.3, 6.7%, 17.3%)
Harmony colors
Accessibility
Black text reads better on this background (4.63:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#a4a3ac · ΔE 32.1
Deuteranopia
#abb4a6 · ΔE 49.1
Tritanopia
#ce9792 · ΔE 32.3
Achromatopsia
#767676 · ΔE 30
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #d311c2;
bg-[#d311c2]
Related colors
Frequently asked questions
#d311c2 (#d311c2) is rgb(211, 17, 194) in RGB.
No, #d311c2 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 #d311c2, or check how it holds up for accessibility.