#dfa0db
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 | #dfa0db | |
| RGB | rgb(223 160 219) | |
| HSL | hsl(303.81 49.61% 75.1%) | |
| OKLCH | oklch(0.78 0.11 328.69) | |
| CMYK | cmyk(0% 28.25% 1.79% 12.55%) | |
| Android | #ffdfa0db |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.06:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.18: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="#dfa0db"
Gradient stop
<stop stop-color="#dfa0db"/>
CSS variable + fill
:root { --c: #dfa0db; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dfa0db; background-color: #dfa0db; bg-[#dfa0db]