#302e2f
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 | #302e2f | |
| RGB | rgb(48 46 47) | |
| HSL | hsl(330 2.13% 18.43%) | |
| OKLCH | oklch(0.3 0 345.43) | |
| CMYK | cmyk(0% 4.17% 2.08% 81.18%) | |
| Android | #ff302e2f |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.48:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.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="#302e2f"
Gradient stop
<stop stop-color="#302e2f"/>
CSS variable + fill
:root { --c: #302e2f; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #302e2f; background-color: #302e2f; bg-[#302e2f]