Skip to content
Vectorlight.net

#d1273e

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

HEX
#d1273e
RGB
209, 39, 62
HSL
351.88°, 68.55%, 48.63%
OKLCH
0.56 0.2 20.5
Names
—
Lists

Codes

FormatValue
HEX#d1273e
RGBrgb(209 39 62)
HSLhsl(351.88 68.55% 48.63%)
OKLCHoklch(0.56 0.2 20.5)
CMYKcmyk(0% 81.34% 70.33% 18.04%)
Android#ffd1273e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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