Skip to content
Vectorlight.net

#cf178d

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

HEX
#cf178d
RGB
207, 23, 141
HSL
321.52°, 80%, 45.1%
OKLCH
0.57 0.23 348.81
Names
—
Lists

Codes

FormatValue
HEX#cf178d
RGBrgb(207 23 141)
HSLhsl(321.52 80% 45.1%)
OKLCHoklch(0.57 0.23 348.81)
CMYKcmyk(0% 88.89% 31.88% 18.82%)
Android#ffcf178d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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