Skip to content
Vectorlight.net

#d1275c

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

HEX
#d1275c
RGB
209, 39, 92
HSL
341.29°, 68.55%, 48.63%
OKLCH
0.57 0.2 9.37
Names
—
Lists

Codes

FormatValue
HEX#d1275c
RGBrgb(209 39 92)
HSLhsl(341.29 68.55% 48.63%)
OKLCHoklch(0.57 0.2 9.37)
CMYKcmyk(0% 81.34% 55.98% 18.04%)
Android#ffd1275c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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