Skip to content
Vectorlight.net

#d4143f

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

HEX
#d4143f
RGB
212, 20, 63
HSL
346.56°, 82.76%, 45.49%
OKLCH
0.56 0.22 18.46
Names
—
Lists

Codes

FormatValue
HEX#d4143f
RGBrgb(212 20 63)
HSLhsl(346.56 82.76% 45.49%)
OKLCHoklch(0.56 0.22 18.46)
CMYKcmyk(0% 90.57% 70.28% 16.86%)
Android#ffd4143f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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