Skip to content
Vectorlight.net

#dc1b98

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

HEX
#dc1b98
RGB
220, 27, 152
HSL
321.14°, 78.14%, 48.43%
OKLCH
0.6 0.24 348.23
Names
—
Lists

Codes

FormatValue
HEX#dc1b98
RGBrgb(220 27 152)
HSLhsl(321.14 78.14% 48.43%)
OKLCHoklch(0.6 0.24 348.23)
CMYKcmyk(0% 87.73% 30.91% 13.73%)
Android#ffdc1b98

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.65:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#dc1b98"
Gradient stop
<stop stop-color="#dc1b98"/>
CSS variable + fill
:root { --c: #dc1b98; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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