Skip to content
Vectorlight.net

#cb04a4

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

HEX
#cb04a4
RGB
203, 4, 164
HSL
311.76°, 96.14%, 40.59%
OKLCH
0.57 0.25 339.71
Names
—
Lists

Codes

FormatValue
HEX#cb04a4
RGBrgb(203 4 164)
HSLhsl(311.76 96.14% 40.59%)
OKLCHoklch(0.57 0.25 339.71)
CMYKcmyk(0% 98.03% 19.21% 20.39%)
Android#ffcb04a4

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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