#d002ab
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 | #d002ab | |
| RGB | rgb(208 2 171) | |
| HSL | hsl(310.78 98.1% 41.18%) | |
| OKLCH | oklch(0.58 0.25 338.8) | |
| CMYK | cmyk(0% 99.04% 17.79% 18.43%) | |
| Android | #ffd002ab |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.27: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="#d002ab"
Gradient stop
<stop stop-color="#d002ab"/>
CSS variable + fill
:root { --c: #d002ab; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d002ab; background-color: #d002ab; bg-[#d002ab]