Skip to content
Vectorlight.net

#df313a

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

HEX
#df313a
RGB
223, 49, 58
HSL
356.9°, 73.11%, 53.33%
OKLCH
0.59 0.21 24.11
Names
—
Lists

Codes

FormatValue
HEX#df313a
RGBrgb(223 49 58)
HSLhsl(356.9 73.11% 53.33%)
OKLCHoklch(0.59 0.21 24.11)
CMYKcmyk(0% 78.03% 73.99% 12.55%)
Android#ffdf313a

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

Recolor an SVG with this color

CSS

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