Skip to content
Vectorlight.net

#d308c8

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

HEX
#d308c8
RGB
211, 8, 200
HSL
303.25°, 92.69%, 42.94%
OKLCH
0.6 0.27 331.23
Names
—
Lists

Codes

FormatValue
HEX#d308c8
RGBrgb(211 8 200)
HSLhsl(303.25 92.69% 42.94%)
OKLCHoklch(0.6 0.27 331.23)
CMYKcmyk(0% 96.21% 5.21% 17.25%)
Android#ffd308c8

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.52:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.63:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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