Skip to content
Vectorlight.net

#dc0b7a

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

HEX
#dc0b7a
RGB
220, 11, 122
HSL
328.13°, 90.48%, 45.29%
OKLCH
0.58 0.23 358.27
Names
—
Lists

Codes

FormatValue
HEX#dc0b7a
RGBrgb(220 11 122)
HSLhsl(328.13 90.48% 45.29%)
OKLCHoklch(0.58 0.23 358.27)
CMYKcmyk(0% 95% 44.55% 13.73%)
Android#ffdc0b7a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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