Skip to content
Vectorlight.net

#d302be

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

HEX
#d302be
RGB
211, 2, 190
HSL
306.03°, 98.12%, 41.76%
OKLCH
0.6 0.27 333.99
Names
—
Lists

Codes

FormatValue
HEX#d302be
RGBrgb(211 2 190)
HSLhsl(306.03 98.12% 41.76%)
OKLCHoklch(0.6 0.27 333.99)
CMYKcmyk(0% 99.05% 9.95% 17.25%)
Android#ffd302be

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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