#042525
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 | #042525 | |
| RGB | rgb(4 37 37) | |
| HSL | hsl(180 80.49% 8.04%) | |
| OKLCH | oklch(0.24 0.04 194.96) | |
| CMYK | cmyk(89.19% 0% 0% 85.49%) | |
| Android | #ff042525 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
16.19:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.29: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="#042525"
Gradient stop
<stop stop-color="#042525"/>
CSS variable + fill
:root { --c: #042525; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #042525; background-color: #042525; bg-[#042525]