Skip to content
Vectorlight.net

#cb1faf

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

HEX
#cb1faf
RGB
203, 31, 175
HSL
309.77°, 73.5%, 45.88%
OKLCH
0.58 0.24 336.44
Names
—
Lists

Codes

FormatValue
HEX#cb1faf
RGBrgb(203 31 175)
HSLhsl(309.77 73.5% 45.88%)
OKLCHoklch(0.58 0.24 336.44)
CMYKcmyk(0% 84.73% 13.79% 20.39%)
Android#ffcb1faf

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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