#dc254a
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 | #dc254a | |
| RGB | rgb(220 37 74) | |
| HSL | hsl(347.87 72.33% 50.39%) | |
| OKLCH | oklch(0.58 0.21 17.23) | |
| CMYK | cmyk(0% 83.18% 66.36% 13.73%) | |
| Android | #ffdc254a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.40: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="#dc254a"
Gradient stop
<stop stop-color="#dc254a"/>
CSS variable + fill
:root { --c: #dc254a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #dc254a; background-color: #dc254a; bg-[#dc254a]