Skip to content
Vectorlight.net

#cf336c

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

HEX
#cf336c
RGB
207, 51, 108
HSL
338.08°, 61.9%, 50.59%
OKLCH
0.58 0.2 3.93
Names
—
Lists

Codes

FormatValue
HEX#cf336c
RGBrgb(207 51 108)
HSLhsl(338.08 61.9% 50.59%)
OKLCHoklch(0.58 0.2 3.93)
CMYKcmyk(0% 75.36% 47.83% 18.82%)
Android#ffcf336c

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

Recolor an SVG with this color

CSS

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