#d024ab
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 | #d024ab | |
| RGB | rgb(208 36 171) | |
| HSL | hsl(312.91 70.49% 47.84%) | |
| OKLCH | oklch(0.59 0.24 339.13) | |
| CMYK | cmyk(0% 82.69% 17.79% 18.43%) | |
| Android | #ffd024ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.64:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.52: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="#d024ab"
Gradient stop
<stop stop-color="#d024ab"/>
CSS variable + fill
:root { --c: #d024ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d024ab; background-color: #d024ab; bg-[#d024ab]