Skip to content
Vectorlight.net

#d2145a

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

HEX
#d2145a
RGB
210, 20, 90
HSL
337.89°, 82.61%, 45.1%
OKLCH
0.56 0.22 8.64
Names
—
Lists

Codes

FormatValue
HEX#d2145a
RGBrgb(210 20 90)
HSLhsl(337.89 82.61% 45.1%)
OKLCHoklch(0.56 0.22 8.64)
CMYKcmyk(0% 90.48% 57.14% 17.65%)
Android#ffd2145a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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