Skip to content
Vectorlight.net

#df0227

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

HEX
#df0227
RGB
223, 2, 39
HSL
349.95°, 98.22%, 44.12%
OKLCH
0.57 0.23 24.59
Names
—
Lists

Codes

FormatValue
HEX#df0227
RGBrgb(223 2 39)
HSLhsl(349.95 98.22% 44.12%)
OKLCHoklch(0.57 0.23 24.59)
CMYKcmyk(0% 99.1% 82.51% 12.55%)
Android#ffdf0227

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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