#8e313a
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 | #8e313a | |
| RGB | rgb(142 49 58) | |
| HSL | hsl(354.19 48.69% 37.45%) | |
| OKLCH | oklch(0.45 0.13 18.1) | |
| CMYK | cmyk(0% 65.49% 59.15% 44.31%) | |
| Android | #ff8e313a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.92:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.65:1
Fail AA normal text
Fail 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="#8e313a"
Gradient stop
<stop stop-color="#8e313a"/>
CSS variable + fill
:root { --c: #8e313a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8e313a; background-color: #8e313a; bg-[#8e313a]