Skip to content
Vectorlight.net

#da1f2a

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

HEX
#da1f2a
RGB
218, 31, 42
HSL
356.47°, 75.1%, 48.82%
OKLCH
0.57 0.22 25.59
Names
—
Lists

Codes

FormatValue
HEX#da1f2a
RGBrgb(218 31 42)
HSLhsl(356.47 75.1% 48.82%)
OKLCHoklch(0.57 0.22 25.59)
CMYKcmyk(0% 85.78% 80.73% 14.51%)
Android#ffda1f2a

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

Recolor an SVG with this color

CSS

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