#12002e
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 | #12002e | |
| RGB | rgb(18 0 46) | |
| HSL | hsl(263.48 100% 9.02%) | |
| OKLCH | oklch(0.16 0.09 294.43) | |
| CMYK | cmyk(60.87% 100% 0% 81.96%) | |
| Android | #ff12002e |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
19.71:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
1.06: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="#12002e"
Gradient stop
<stop stop-color="#12002e"/>
CSS variable + fill
:root { --c: #12002e; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #12002e; background-color: #12002e; bg-[#12002e]