#db5757
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 | #db5757 | |
| RGB | rgb(219 87 87) | |
| HSL | hsl(0 64.71% 60%) | |
| OKLCH | oklch(0.63 0.17 23.14) | |
| CMYK | cmyk(0% 60.27% 60.27% 14.12%) | |
| Android | #ffdb5757 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.80:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.51: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="#db5757"
Gradient stop
<stop stop-color="#db5757"/>
CSS variable + fill
:root { --c: #db5757; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db5757; background-color: #db5757; bg-[#db5757]