Skip to content
Kolorvia
#ec2fb2

Color #ec2fb2

A vivid, highly saturated medium magenta.

Conversions

HEX
#ec2fb2
RGB
rgb(236, 47, 178)
HSL
hsl(318.4, 83.3%, 55.5%)
HSV / HSB
hsv(318.4, 80.1%, 92.5%)
CMYK
cmyk(0%, 80.1%, 24.6%, 7.5%)
LAB
lab(55.16, 79.03, -25.47)
LCH
lch(55.16, 83.03, 342.14)
OKLCH
oklch(64.7%, 0.2489, 344.12)
HWB
hwb(318.4, 18.4%, 7.5%)

Harmony colors

Complementary

#2fec69

Analogous

#c82fec
#ec2fb2
#ec2f54

Triadic

#ec2fb2
#b2ec2f
#2fb2ec

Split-complementary

#ec2fb2
#54ec2f
#2fecc8

Tetradic

#ec2fb2
#ec692f
#2fec69
#2fb2ec

Square

#ec2fb2
#ecc82f
#2fec69
#2f54ec

Shades

Color #ec2fb2 mixed toward black.

#d8149c
#ad107d
#820c5e
#56083e
#2b041f

Tints

Color #ec2fb2 mixed toward white.

#ef52bf
#f274cc
#f697d9
#f9bae5
#fcdcf2

Tones

Color #ec2fb2 mixed toward gray.

#dc3fac
#cd4fa6
#bd5ea0
#ad6e9a
#9d7e94

Accessibility

Aa White text on this color
3.74:1
Aa Black text on this color
5.62:1

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

Under color vision deficiencies

Protanopia

#b9b89f · ΔE 48.1

Deuteranopia

#c1cb99 · ΔE 61.8

Tritanopia

#e78d88 · ΔE 26

Achromatopsia

#848484 · ΔE 29

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

Code

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

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#ec2fb2 (#ec2fb2) is rgb(236, 47, 178) in RGB.

No, #ec2fb2 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 #ec2fb2, 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.