Skip to content
Vectorlight.net

#cc249b

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

HEX
#cc249b
RGB
204, 36, 155
HSL
317.5°, 70%, 47.06%
OKLCH
0.58 0.23 343.47
Names
—
Lists

Codes

FormatValue
HEX#cc249b
RGBrgb(204 36 155)
HSLhsl(317.5 70% 47.06%)
OKLCHoklch(0.58 0.23 343.47)
CMYKcmyk(0% 82.35% 24.02% 20%)
Android#ffcc249b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.89:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.29:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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="#cc249b"
Gradient stop
<stop stop-color="#cc249b"/>
CSS variable + fill
:root { --c: #cc249b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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