Skip to content
Vectorlight.net

#cf338b

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

HEX
#cf338b
RGB
207, 51, 139
HSL
326.15°, 61.9%, 50.59%
OKLCH
0.59 0.21 351.02
Names
—
Lists

Codes

FormatValue
HEX#cf338b
RGBrgb(207 51 139)
HSLhsl(326.15 61.9% 50.59%)
OKLCHoklch(0.59 0.21 351.02)
CMYKcmyk(0% 75.36% 32.85% 18.82%)
Android#ffcf338b

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

Recolor an SVG with this color

CSS

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