Skip to content
Vectorlight.net

#de227f

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

HEX
#de227f
RGB
222, 34, 127
HSL
330.32°, 74.02%, 50.2%
OKLCH
0.6 0.23 357.84
Names
—
Lists

Codes

FormatValue
HEX#de227f
RGBrgb(222 34 127)
HSLhsl(330.32 74.02% 50.2%)
OKLCHoklch(0.6 0.23 357.84)
CMYKcmyk(0% 84.68% 42.79% 12.94%)
Android#ffde227f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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