#d2a2cb
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 | #d2a2cb | |
| RGB | rgb(210 162 203) | |
| HSL | hsl(308.75 34.78% 72.94%) | |
| OKLCH | oklch(0.77 0.08 331.34) | |
| CMYK | cmyk(0% 22.86% 3.33% 17.65%) | |
| Android | #ffd2a2cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.14:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.77: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="#d2a2cb"
Gradient stop
<stop stop-color="#d2a2cb"/>
CSS variable + fill
:root { --c: #d2a2cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d2a2cb; background-color: #d2a2cb; bg-[#d2a2cb]