Skip to content
Vectorlight.net

#cb1271

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

HEX
#cb1271
RGB
203, 18, 113
HSL
329.19°, 83.71%, 43.33%
OKLCH
0.55 0.22 358.23
Names
—
Lists

Codes

FormatValue
HEX#cb1271
RGBrgb(203 18 113)
HSLhsl(329.19 83.71% 43.33%)
OKLCHoklch(0.55 0.22 358.23)
CMYKcmyk(0% 91.13% 44.33% 20.39%)
Android#ffcb1271

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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