Skip to content
Vectorlight.net

#cf407c

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

HEX
#cf407c
RGB
207, 64, 124
HSL
334.83°, 59.83%, 53.14%
OKLCH
0.59 0.19 358.8
Names
—
Lists

Codes

FormatValue
HEX#cf407c
RGBrgb(207 64 124)
HSLhsl(334.83 59.83% 53.14%)
OKLCHoklch(0.59 0.19 358.8)
CMYKcmyk(0% 69.08% 40.1% 18.82%)
Android#ffcf407c

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.48:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.67:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#cf407c"
Gradient stop
<stop stop-color="#cf407c"/>
CSS variable + fill
:root { --c: #cf407c; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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