Skip to content
Vectorlight.net

#cb157b

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

HEX
#cb157b
RGB
203, 21, 123
HSL
326.37°, 81.25%, 43.92%
OKLCH
0.56 0.22 354.48
Names
—
Lists

Codes

FormatValue
HEX#cb157b
RGBrgb(203 21 123)
HSLhsl(326.37 81.25% 43.92%)
OKLCHoklch(0.56 0.22 354.48)
CMYKcmyk(0% 89.66% 39.41% 20.39%)
Android#ffcb157b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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