Skip to content
Vectorlight.net

#d02252

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

HEX
#d02252
RGB
208, 34, 82
HSL
343.45°, 71.9%, 47.45%
OKLCH
0.56 0.21 12.56
Names
—
Lists

Codes

FormatValue
HEX#d02252
RGBrgb(208 34 82)
HSLhsl(343.45 71.9% 47.45%)
OKLCHoklch(0.56 0.21 12.56)
CMYKcmyk(0% 83.65% 60.58% 18.43%)
Android#ffd02252

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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