Skip to content
Vectorlight.net

#d228ae

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

HEX
#d228ae
RGB
210, 40, 174
HSL
312.71°, 68%, 49.02%
OKLCH
0.6 0.24 338.76
Names
—
Lists

Codes

FormatValue
HEX#d228ae
RGBrgb(210 40 174)
HSLhsl(312.71 68% 49.02%)
OKLCHoklch(0.6 0.24 338.76)
CMYKcmyk(0% 80.95% 17.14% 17.65%)
Android#ffd228ae

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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