Color #ec2ebc
A vivid, highly saturated medium magenta.
Conversions
#ec2ebc
rgb(236, 46, 188)
hsl(315.2, 83.3%, 55.3%)
hsv(315.2, 80.5%, 92.5%)
cmyk(0%, 80.5%, 20.3%, 7.5%)
lab(55.5, 80.47, -30.74)
lch(55.5, 86.14, 339.09)
oklch(65.1%, 0.2553, 341.05)
hwb(315.2, 18%, 7.5%)
Harmony colors
Accessibility
Black text reads better on this background (5.68:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#b9b8a7 · ΔE 44.6
Deuteranopia
#c1cba2 · ΔE 59.7
Tritanopia
#e79490 · ΔE 27.3
Achromatopsia
#858585 · ΔE 29.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #ec2ebc;
bg-[#ec2ebc]
Related colors
Frequently asked questions
#ec2ebc (#ec2ebc) is rgb(236, 46, 188) in RGB.
No, #ec2ebc 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 #ec2ebc, or check how it holds up for accessibility.