Skip to content
Vectorlight.net

#ce2fac

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#ce2fac
RGB
206, 47, 172
HSL
312.83°, 62.85%, 49.61%
OKLCH
0.6 0.23 338.47
Names
—
Lists

Codes

FormatValue
HEX#ce2fac
RGBrgb(206 47 172)
HSLhsl(312.83 62.85% 49.61%)
OKLCHoklch(0.6 0.23 338.47)
CMYKcmyk(0% 77.18% 16.5% 19.22%)
Android#ffce2fac

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.53:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.62:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#ce2fac"
Gradient stop
<stop stop-color="#ce2fac"/>
CSS variable + fill
:root { --c: #ce2fac; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #ce2fac;
background-color: #ce2fac;
bg-[#ce2fac]