Skip to content
Vectorlight.net

#dc298f

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

HEX
#dc298f
RGB
220, 41, 143
HSL
325.81°, 71.89%, 51.18%
OKLCH
0.6 0.23 351.96
Names
—
Lists

Codes

FormatValue
HEX#dc298f
RGBrgb(220 41 143)
HSLhsl(325.81 71.89% 51.18%)
OKLCHoklch(0.6 0.23 351.96)
CMYKcmyk(0% 81.36% 35% 13.73%)
Android#ffdc298f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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