Skip to content
Vectorlight.net

#cf397f

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

HEX
#cf397f
RGB
207, 57, 127
HSL
332°, 60.98%, 51.76%
OKLCH
0.59 0.19 356.55
Names
—
Lists

Codes

FormatValue
HEX#cf397f
RGBrgb(207 57 127)
HSLhsl(332 60.98% 51.76%)
OKLCHoklch(0.59 0.19 356.55)
CMYKcmyk(0% 72.46% 38.65% 18.82%)
Android#ffcf397f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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