Skip to content
Vectorlight.net

#cf338d

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

HEX
#cf338d
RGB
207, 51, 141
HSL
325.38°, 61.9%, 50.59%
OKLCH
0.59 0.21 350.22
Names
—
Lists

Codes

FormatValue
HEX#cf338d
RGBrgb(207 51 141)
HSLhsl(325.38 61.9% 50.59%)
OKLCHoklch(0.59 0.21 350.22)
CMYKcmyk(0% 75.36% 31.88% 18.82%)
Android#ffcf338d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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