Skip to content
Vectorlight.net

#ce31b4

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

HEX
#ce31b4
RGB
206, 49, 180
HSL
309.94°, 61.57%, 50%
OKLCH
0.6 0.23 335.89
Names
—
Lists

Codes

FormatValue
HEX#ce31b4
RGBrgb(206 49 180)
HSLhsl(309.94 61.57% 50%)
OKLCHoklch(0.6 0.23 335.89)
CMYKcmyk(0% 76.21% 12.62% 19.22%)
Android#ffce31b4

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.44:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.72: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="#ce31b4"
Gradient stop
<stop stop-color="#ce31b4"/>
CSS variable + fill
:root { --c: #ce31b4; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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