Skip to content
Vectorlight.net

#d227aa

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

HEX
#d227aa
RGB
210, 39, 170
HSL
314.04°, 68.67%, 48.82%
OKLCH
0.6 0.24 340.04
Names
—
Lists

Codes

FormatValue
HEX#d227aa
RGBrgb(210 39 170)
HSLhsl(314.04 68.67% 48.82%)
OKLCHoklch(0.6 0.24 340.04)
CMYKcmyk(0% 81.43% 19.05% 17.65%)
Android#ffd227aa

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.55:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#d227aa"
Gradient stop
<stop stop-color="#d227aa"/>
CSS variable + fill
:root { --c: #d227aa; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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