Skip to content
Vectorlight.net

#d02542

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

HEX
#d02542
RGB
208, 37, 66
HSL
349.82°, 69.8%, 48.04%
OKLCH
0.56 0.2 18.79
Names
—
Lists

Codes

FormatValue
HEX#d02542
RGBrgb(208 37 66)
HSLhsl(349.82 69.8% 48.04%)
OKLCHoklch(0.56 0.2 18.79)
CMYKcmyk(0% 82.21% 68.27% 18.43%)
Android#ffd02542

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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