#d81bb6
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 | #d81bb6 | |
| RGB | rgb(216 27 182) | |
| HSL | hsl(310.79 77.78% 47.65%) | |
| OKLCH | oklch(0.61 0.25 337.67) | |
| CMYK | cmyk(0% 87.5% 15.74% 15.29%) | |
| Android | #ffd81bb6 |
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
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#d81bb6"
Gradient stop
<stop stop-color="#d81bb6"/>
CSS variable + fill
:root { --c: #d81bb6; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d81bb6; background-color: #d81bb6; bg-[#d81bb6]