#d4998b
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 | #d4998b | |
| RGB | rgb(212 153 139) | |
| HSL | hsl(11.51 45.91% 68.82%) | |
| OKLCH | oklch(0.74 0.07 33.79) | |
| CMYK | cmyk(0% 27.83% 34.43% 16.86%) | |
| Android | #ffd4998b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.40:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.72: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="#d4998b"
Gradient stop
<stop stop-color="#d4998b"/>
CSS variable + fill
:root { --c: #d4998b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d4998b; background-color: #d4998b; bg-[#d4998b]