Skip to content
Vectorlight.net

#cb03a8

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

HEX
#cb03a8
RGB
203, 3, 168
HSL
310.5°, 97.09%, 40.39%
OKLCH
0.57 0.25 338.44
Names
—
Lists

Codes

FormatValue
HEX#cb03a8
RGBrgb(203 3 168)
HSLhsl(310.5 97.09% 40.39%)
OKLCHoklch(0.57 0.25 338.44)
CMYKcmyk(0% 98.52% 17.24% 20.39%)
Android#ffcb03a8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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