Skip to content
Vectorlight.net

#da1228

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

HEX
#da1228
RGB
218, 18, 40
HSL
353.4°, 84.75%, 46.27%
OKLCH
0.56 0.22 24.93
Names
—
Lists

Codes

FormatValue
HEX#da1228
RGBrgb(218 18 40)
HSLhsl(353.4 84.75% 46.27%)
OKLCHoklch(0.56 0.22 24.93)
CMYKcmyk(0% 91.74% 81.65% 14.51%)
Android#ffda1228

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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