#d81b68
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 | #d81b68 | |
| RGB | rgb(216 27 104) | |
| HSL | hsl(335.56 77.78% 47.65%) | |
| OKLCH | oklch(0.58 0.22 4.83) | |
| CMYK | cmyk(0% 87.5% 51.85% 15.29%) | |
| Android | #ffd81b68 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.91: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="#d81b68"
Gradient stop
<stop stop-color="#d81b68"/>
CSS variable + fill
:root { --c: #d81b68; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d81b68; background-color: #d81b68; bg-[#d81b68]