Skip to content
Vectorlight.net

#cf255c

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

HEX
#cf255c
RGB
207, 37, 92
HSL
340.59°, 69.67%, 47.84%
OKLCH
0.56 0.2 8.81
Names
—
Lists

Codes

FormatValue
HEX#cf255c
RGBrgb(207 37 92)
HSLhsl(340.59 69.67% 47.84%)
OKLCHoklch(0.56 0.2 8.81)
CMYKcmyk(0% 82.13% 55.56% 18.82%)
Android#ffcf255c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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