Skip to content
Vectorlight.net

#cf2b7b

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

HEX
#cf2b7b
RGB
207, 43, 123
HSL
330.73°, 65.6%, 49.02%
OKLCH
0.57 0.21 356.78
Names
—
Lists

Codes

FormatValue
HEX#cf2b7b
RGBrgb(207 43 123)
HSLhsl(330.73 65.6% 49.02%)
OKLCHoklch(0.57 0.21 356.78)
CMYKcmyk(0% 79.23% 40.58% 18.82%)
Android#ffcf2b7b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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