#d0271a
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 | #d0271a | |
| RGB | rgb(208 39 26) | |
| HSL | hsl(4.29 77.78% 45.88%) | |
| OKLCH | oklch(0.55 0.21 29.64) | |
| CMYK | cmyk(0% 81.25% 87.5% 18.43%) | |
| Android | #ffd0271a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.26:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.98: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="#d0271a"
Gradient stop
<stop stop-color="#d0271a"/>
CSS variable + fill
:root { --c: #d0271a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d0271a; background-color: #d0271a; bg-[#d0271a]