Skip to content
Vectorlight.net

#d1304f

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

HEX
#d1304f
RGB
209, 48, 79
HSL
348.45°, 63.64%, 50.39%
OKLCH
0.57 0.2 15.77
Names
—
Lists

Codes

FormatValue
HEX#d1304f
RGBrgb(209 48 79)
HSLhsl(348.45 63.64% 50.39%)
OKLCHoklch(0.57 0.2 15.77)
CMYKcmyk(0% 77.03% 62.2% 18.04%)
Android#ffd1304f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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