Skip to content
Vectorlight.net

#cb138e

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

HEX
#cb138e
RGB
203, 19, 142
HSL
319.89°, 82.88%, 43.53%
OKLCH
0.56 0.23 347.34
Names
—
Lists

Codes

FormatValue
HEX#cb138e
RGBrgb(203 19 142)
HSLhsl(319.89 82.88% 43.53%)
OKLCHoklch(0.56 0.23 347.34)
CMYKcmyk(0% 90.64% 30.05% 20.39%)
Android#ffcb138e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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