Skip to content
Vectorlight.net

#d8335f

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

HEX
#d8335f
RGB
216, 51, 95
HSL
344°, 67.9%, 52.35%
OKLCH
0.59 0.2 10.85
Names
—
Lists

Codes

FormatValue
HEX#d8335f
RGBrgb(216 51 95)
HSLhsl(344 67.9% 52.35%)
OKLCHoklch(0.59 0.2 10.85)
CMYKcmyk(0% 76.39% 56.02% 15.29%)
Android#ffd8335f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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