Skip to content
Vectorlight.net

#d30258

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

HEX
#d30258
RGB
211, 2, 88
HSL
335.31°, 98.12%, 41.76%
OKLCH
0.56 0.22 8.77
Names
—
Lists

Codes

FormatValue
HEX#d30258
RGBrgb(211 2 88)
HSLhsl(335.31 98.12% 41.76%)
OKLCHoklch(0.56 0.22 8.77)
CMYKcmyk(0% 99.05% 58.29% 17.25%)
Android#ffd30258

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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