Skip to content
Vectorlight.net

#cf338c

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

HEX
#cf338c
RGB
207, 51, 140
HSL
325.77°, 61.9%, 50.59%
OKLCH
0.59 0.21 350.62
Names
—
Lists

Codes

FormatValue
HEX#cf338c
RGBrgb(207 51 140)
HSLhsl(325.77 61.9% 50.59%)
OKLCHoklch(0.59 0.21 350.62)
CMYKcmyk(0% 75.36% 32.37% 18.82%)
Android#ffcf338c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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