#2f0428
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 | #2f0428 | |
| RGB | rgb(47 4 40) | |
| HSL | hsl(309.77 84.31% 10%) | |
| OKLCH | oklch(0.21 0.08 335.6) | |
| CMYK | cmyk(0% 91.49% 14.89% 81.57%) | |
| Android | #ff2f0428 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
17.96:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.16: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="#2f0428"
Gradient stop
<stop stop-color="#2f0428"/>
CSS variable + fill
:root { --c: #2f0428; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #2f0428; background-color: #2f0428; bg-[#2f0428]