#d898ba
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 | #d898ba | |
| RGB | rgb(216 152 186) | |
| HSL | hsl(328.13 45.07% 72.16%) | |
| OKLCH | oklch(0.75 0.09 346.3) | |
| CMYK | cmyk(0% 29.63% 13.89% 15.29%) | |
| Android | #ffd898ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.30:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.12: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="#d898ba"
Gradient stop
<stop stop-color="#d898ba"/>
CSS variable + fill
:root { --c: #d898ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d898ba; background-color: #d898ba; bg-[#d898ba]