#231128
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 | #231128 | |
| RGB | rgb(35 17 40) | |
| HSL | hsl(286.96 40.35% 11.18%) | |
| OKLCH | oklch(0.21 0.05 318.65) | |
| CMYK | cmyk(12.5% 57.5% 0% 84.31%) | |
| Android | #ff231128 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
17.76:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.18: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="#231128"
Gradient stop
<stop stop-color="#231128"/>
CSS variable + fill
:root { --c: #231128; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #231128; background-color: #231128; bg-[#231128]