#d00c8d
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 | #d00c8d | |
| RGB | rgb(208 12 141) | |
| HSL | hsl(320.51 89.09% 43.14%) | |
| OKLCH | oklch(0.57 0.23 348.8) | |
| CMYK | cmyk(0% 94.23% 32.21% 18.43%) | |
| Android | #ffd00c8d |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.09:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.11:1
Fail 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="#d00c8d"
Gradient stop
<stop stop-color="#d00c8d"/>
CSS variable + fill
:root { --c: #d00c8d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d00c8d; background-color: #d00c8d; bg-[#d00c8d]