Skip to content
Vectorlight.net

#cf2e7d

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

HEX
#cf2e7d
RGB
207, 46, 125
HSL
330.56°, 63.64%, 49.61%
OKLCH
0.58 0.21 356.23
Names
—
Lists

Codes

FormatValue
HEX#cf2e7d
RGBrgb(207 46 125)
HSLhsl(330.56 63.64% 49.61%)
OKLCHoklch(0.58 0.21 356.23)
CMYKcmyk(0% 77.78% 39.61% 18.82%)
Android#ffcf2e7d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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