Skip to content
Vectorlight.net

#d2138f

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

HEX
#d2138f
RGB
210, 19, 143
HSL
321.05°, 83.41%, 44.9%
OKLCH
0.58 0.23 348.73
Names
—
Lists

Codes

FormatValue
HEX#d2138f
RGBrgb(210 19 143)
HSLhsl(321.05 83.41% 44.9%)
OKLCHoklch(0.58 0.23 348.73)
CMYKcmyk(0% 90.95% 31.9% 17.65%)
Android#ffd2138f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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