#d022ba
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 | #d022ba | |
| RGB | rgb(208 34 186) | |
| HSL | hsl(307.59 71.9% 47.45%) | |
| OKLCH | oklch(0.6 0.25 334.44) | |
| CMYK | cmyk(0% 83.65% 10.58% 18.43%) | |
| Android | #ffd022ba |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.54:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.61: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="#d022ba"
Gradient stop
<stop stop-color="#d022ba"/>
CSS variable + fill
:root { --c: #d022ba; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d022ba; background-color: #d022ba; bg-[#d022ba]