Skip to content
Vectorlight.net

#d2138a

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

HEX
#d2138a
RGB
210, 19, 138
HSL
322.62°, 83.41%, 44.9%
OKLCH
0.57 0.23 350.5
Names
—
Lists

Codes

FormatValue
HEX#d2138a
RGBrgb(210 19 138)
HSLhsl(322.62 83.41% 44.9%)
OKLCHoklch(0.57 0.23 350.5)
CMYKcmyk(0% 90.95% 34.29% 17.65%)
Android#ffd2138a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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