#dc0b98
Codes, contrast, shades, harmonies and SVG snippets for this color.
- Codes
- Names & lists
- Contrast
- Shades & tints
- Harmonies
- Color-blindness
- SVG snippets
- CSS
- Related colors
Codes
| Format | Value | |
|---|---|---|
| HEX | #dc0b98 | |
| RGB | rgb(220 11 152) | |
| HSL | hsl(319.52 90.48% 45.29%) | |
| OKLCH | oklch(0.59 0.25 347.89) | |
| CMYK | cmyk(0% 95% 30.91% 13.73%) | |
| Android | #ffdc0b98 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.62:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.54:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#dc0b98"
Gradient stop
<stop stop-color="#dc0b98"/>
CSS variable + fill
:root { --c: #dc0b98; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc0b98; background-color: #dc0b98; bg-[#dc0b98]