#d2397d
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 | #d2397d | |
| RGB | rgb(210 57 125) | |
| HSL | hsl(333.33 62.96% 52.35%) | |
| OKLCH | oklch(0.59 0.2 358.09) | |
| CMYK | cmyk(0% 72.86% 40.48% 17.65%) | |
| Android | #ffd2397d |
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.62: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="#d2397d"
Gradient stop
<stop stop-color="#d2397d"/>
CSS variable + fill
:root { --c: #d2397d; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d2397d; background-color: #d2397d; bg-[#d2397d]