Skip to content
Vectorlight.net

#d2255e

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

HEX
#d2255e
RGB
210, 37, 94
HSL
340.23°, 70.04%, 48.43%
OKLCH
0.57 0.21 8.51
Names
—
Lists

Codes

FormatValue
HEX#d2255e
RGBrgb(210 37 94)
HSLhsl(340.23 70.04% 48.43%)
OKLCHoklch(0.57 0.21 8.51)
CMYKcmyk(0% 82.38% 55.24% 17.65%)
Android#ffd2255e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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