Skip to content
Kolorvia
#ec42d6

Color #ec42d6

A vivid, highly saturated medium magenta.

Conversions

HEX
#ec42d6
RGB
rgb(236, 66, 214)
HSL
hsl(307.8, 81.7%, 59.2%)
HSV / HSB
hsv(307.8, 72%, 92.5%)
CMYK
cmyk(0%, 72%, 9.3%, 7.5%)
LAB
lab(58.59, 78.52, -40.8)
LCH
lch(58.59, 88.49, 332.54)
OKLCH
oklch(67.7%, 0.2536, 333.84)
HWB
hwb(307.8, 25.9%, 7.5%)

Harmony colors

Complementary

#42ec58

Analogous

#ad42ec
#ec42d6
#ec4281

Triadic

#ec42d6
#d6ec42
#42d6ec

Split-complementary

#ec42d6
#81ec42
#42ecad

Tetradic

#ec42d6
#ec5842
#42ec58
#42d6ec

Square

#ec42d6
#ecad42
#42ec58
#4281ec

Shades

Color #ec42d6 mixed toward black.

#e517ca
#b712a1
#890e79
#5b0951
#2e0528

Tints

Color #ec42d6 mixed toward white.

#ef61dd
#f281e4
#f5a0ea
#f9c0f1
#fcdff8

Tones

Color #ec42d6 mixed toward gray.

#de50cb
#d05ec1
#c16cb6
#b37bac
#a589a1

Accessibility

Aa White text on this color
3.32:1
Aa Black text on this color
6.32:1

Black text reads better on this background (6.32:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#bbbabf · ΔE 31.4

Deuteranopia

#c3ccb9 · ΔE 50.1

Tritanopia

#e7aba6 · ΔE 30.4

Achromatopsia

#8d8d8d · ΔE 29.6

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #ec42d6;
Tailwind (arbitrary value)
bg-[#ec42d6]

Related colors

Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff
Plum #dda0dd
Purple #800080
Thistle #d8bfd8

Frequently asked questions

#ec42d6 (#ec42d6) is rgb(236, 66, 214) in RGB.

No, #ec42d6 is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #ec42d6, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.