#408271
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 | #408271 | |
| RGB | rgb(64 130 113) | |
| HSL | hsl(164.55 34.02% 38.04%) | |
| OKLCH | oklch(0.56 0.07 174.57) | |
| CMYK | cmyk(50.77% 0% 13.08% 49.02%) | |
| Android | #ff408271 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.51:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.64:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#408271"
Gradient stop
<stop stop-color="#408271"/>
CSS variable + fill
:root { --c: #408271; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #408271; background-color: #408271; bg-[#408271]