Skip to content
Vectorlight.net

#d7304e

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

HEX
#d7304e
RGB
215, 48, 78
HSL
349.22°, 67.61%, 51.57%
OKLCH
0.58 0.2 16.81
Names
—
Lists

Codes

FormatValue
HEX#d7304e
RGBrgb(215 48 78)
HSLhsl(349.22 67.61% 51.57%)
OKLCHoklch(0.58 0.2 16.81)
CMYKcmyk(0% 77.67% 63.72% 15.69%)
Android#ffd7304e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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