Skip to content
Vectorlight.net

#d0227e

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

HEX
#d0227e
RGB
208, 34, 126
HSL
328.28°, 71.9%, 47.45%
OKLCH
0.57 0.22 355.15
Names
—
Lists

Codes

FormatValue
HEX#d0227e
RGBrgb(208 34 126)
HSLhsl(328.28 71.9% 47.45%)
OKLCHoklch(0.57 0.22 355.15)
CMYKcmyk(0% 83.65% 39.42% 18.43%)
Android#ffd0227e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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