Skip to content
Vectorlight.net

#df312b

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

HEX
#df312b
RGB
223, 49, 43
HSL
2°, 73.77%, 52.16%
OKLCH
0.59 0.21 27.92
Names
—
Lists

Codes

FormatValue
HEX#df312b
RGBrgb(223 49 43)
HSLhsl(2 73.77% 52.16%)
OKLCHoklch(0.59 0.21 27.92)
CMYKcmyk(0% 78.03% 80.72% 12.55%)
Android#ffdf312b

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

Recolor an SVG with this color

CSS

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