Skip to content
Vectorlight.net

#d02274

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

HEX
#d02274
RGB
208, 34, 116
HSL
331.72°, 71.9%, 47.45%
OKLCH
0.57 0.21 359.08
Names
—
Lists

Codes

FormatValue
HEX#d02274
RGBrgb(208 34 116)
HSLhsl(331.72 71.9% 47.45%)
OKLCHoklch(0.57 0.21 359.08)
CMYKcmyk(0% 83.65% 44.23% 18.43%)
Android#ffd02274

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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