Skip to content
Vectorlight.net

#cf148b

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

HEX
#cf148b
RGB
207, 20, 139
HSL
321.82°, 82.38%, 44.51%
OKLCH
0.57 0.23 349.45
Names
—
Lists

Codes

FormatValue
HEX#cf148b
RGBrgb(207 20 139)
HSLhsl(321.82 82.38% 44.51%)
OKLCHoklch(0.57 0.23 349.45)
CMYKcmyk(0% 90.34% 32.85% 18.82%)
Android#ffcf148b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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