#dd97cf
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 | #dd97cf | |
| RGB | rgb(221 151 207) | |
| HSL | hsl(312 50.72% 72.94%) | |
| OKLCH | oklch(0.76 0.11 334.02) | |
| CMYK | cmyk(0% 31.67% 6.33% 13.33%) | |
| Android | #ffdd97cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.40: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="#dd97cf"
Gradient stop
<stop stop-color="#dd97cf"/>
CSS variable + fill
:root { --c: #dd97cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dd97cf; background-color: #dd97cf; bg-[#dd97cf]