#402502
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 | #402502 | |
| RGB | rgb(64 37 2) | |
| HSL | hsl(33.87 93.94% 12.94%) | |
| OKLCH | oklch(0.29 0.06 67.71) | |
| CMYK | cmyk(0% 42.19% 96.88% 74.9%) | |
| Android | #ff402502 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
14.15:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.48: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="#402502"
Gradient stop
<stop stop-color="#402502"/>
CSS variable + fill
:root { --c: #402502; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #402502; background-color: #402502; bg-[#402502]