Skip to content
Vectorlight.net

#d8335c

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

HEX
#d8335c
RGB
216, 51, 92
HSL
345.09°, 67.9%, 52.35%
OKLCH
0.59 0.2 12.04
Names
—
Lists

Codes

FormatValue
HEX#d8335c
RGBrgb(216 51 92)
HSLhsl(345.09 67.9% 52.35%)
OKLCHoklch(0.59 0.2 12.04)
CMYKcmyk(0% 76.39% 57.41% 15.29%)
Android#ffd8335c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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