#301235
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 | #301235 | |
| RGB | rgb(48 18 53) | |
| HSL | hsl(291.43 49.3% 13.92%) | |
| OKLCH | oklch(0.25 0.07 321.74) | |
| CMYK | cmyk(9.43% 66.04% 0% 79.22%) | |
| Android | #ff301235 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
16.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.26: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="#301235"
Gradient stop
<stop stop-color="#301235"/>
CSS variable + fill
:root { --c: #301235; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #301235; background-color: #301235; bg-[#301235]