Skip to content
Vectorlight.net

#d0304e

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

HEX
#d0304e
RGB
208, 48, 78
HSL
348.75°, 62.99%, 50.2%
OKLCH
0.57 0.19 16.04
Names
—
Lists

Codes

FormatValue
HEX#d0304e
RGBrgb(208 48 78)
HSLhsl(348.75 62.99% 50.2%)
OKLCHoklch(0.57 0.19 16.04)
CMYKcmyk(0% 76.92% 62.5% 18.43%)
Android#ffd0304e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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