#df8cd4
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 | #df8cd4 | |
| RGB | rgb(223 140 212) | |
| HSL | hsl(307.95 56.46% 71.18%) | |
| OKLCH | oklch(0.75 0.14 331.71) | |
| CMYK | cmyk(0% 37.22% 4.93% 12.55%) | |
| Android | #ffdf8cd4 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.37:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.83: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="#df8cd4"
Gradient stop
<stop stop-color="#df8cd4"/>
CSS variable + fill
:root { --c: #df8cd4; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #df8cd4; background-color: #df8cd4; bg-[#df8cd4]