#8e274e
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 | #8e274e | |
| RGB | rgb(142 39 78) | |
| HSL | hsl(337.28 56.91% 35.49%) | |
| OKLCH | oklch(0.44 0.14 1.78) | |
| CMYK | cmyk(0% 72.54% 45.07% 44.31%) | |
| Android | #ff8e274e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
8.23:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.55: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="#8e274e"
Gradient stop
<stop stop-color="#8e274e"/>
CSS variable + fill
:root { --c: #8e274e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #8e274e; background-color: #8e274e; bg-[#8e274e]