#db254a
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 | #db254a | |
| RGB | rgb(219 37 74) | |
| HSL | hsl(347.8 71.65% 50.2%) | |
| OKLCH | oklch(0.58 0.21 17.13) | |
| CMYK | cmyk(0% 83.11% 66.21% 14.12%) | |
| Android | #ffdb254a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.79:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.37:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#db254a"
Gradient stop
<stop stop-color="#db254a"/>
CSS variable + fill
:root { --c: #db254a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #db254a; background-color: #db254a; bg-[#db254a]