Skip to content
Vectorlight.net

#cb148c

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

HEX
#cb148c
RGB
203, 20, 140
HSL
320.66°, 82.06%, 43.73%
OKLCH
0.56 0.23 348.09
Names
—
Lists

Codes

FormatValue
HEX#cb148c
RGBrgb(203 20 140)
HSLhsl(320.66 82.06% 43.73%)
OKLCHoklch(0.56 0.23 348.09)
CMYKcmyk(0% 90.15% 31.03% 20.39%)
Android#ffcb148c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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