Skip to content
Vectorlight.net

#d308af

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

HEX
#d308af
RGB
211, 8, 175
HSL
310.64°, 92.69%, 42.94%
OKLCH
0.59 0.26 338.38
Names
—
Lists

Codes

FormatValue
HEX#d308af
RGBrgb(211 8 175)
HSLhsl(310.64 92.69% 42.94%)
OKLCHoklch(0.59 0.26 338.38)
CMYKcmyk(0% 96.21% 17.06% 17.25%)
Android#ffd308af

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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