Skip to content
Vectorlight.net

#d8305f

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

HEX
#d8305f
RGB
216, 48, 95
HSL
343.21°, 68.29%, 51.76%
OKLCH
0.59 0.2 10.42
Names
—
Lists

Codes

FormatValue
HEX#d8305f
RGBrgb(216 48 95)
HSLhsl(343.21 68.29% 51.76%)
OKLCHoklch(0.59 0.2 10.42)
CMYKcmyk(0% 77.78% 56.02% 15.29%)
Android#ffd8305f

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

Recolor an SVG with this color

CSS

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