Skip to content
Vectorlight.net

#cf03ab

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

HEX
#cf03ab
RGB
207, 3, 171
HSL
310.59°, 97.14%, 41.18%
OKLCH
0.58 0.25 338.55
Names
—
Lists

Codes

FormatValue
HEX#cf03ab
RGBrgb(207 3 171)
HSLhsl(310.59 97.14% 41.18%)
OKLCHoklch(0.58 0.25 338.55)
CMYKcmyk(0% 98.55% 17.39% 18.82%)
Android#ffcf03ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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