Skip to content
Vectorlight.net

#d2149d

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

HEX
#d2149d
RGB
210, 20, 157
HSL
316.74°, 82.61%, 45.1%
OKLCH
0.58 0.24 343.95
Names
—
Lists

Codes

FormatValue
HEX#d2149d
RGBrgb(210 20 157)
HSLhsl(316.74 82.61% 45.1%)
OKLCHoklch(0.58 0.24 343.95)
CMYKcmyk(0% 90.48% 25.24% 17.65%)
Android#ffd2149d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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