#762166
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 | #762166 | |
| RGB | rgb(118 33 102) | |
| HSL | hsl(311.29 56.29% 29.61%) | |
| OKLCH | oklch(0.41 0.14 336.39) | |
| CMYK | cmyk(0% 72.03% 13.56% 53.73%) | |
| Android | #ff762166 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
9.63:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.17: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="#762166"
Gradient stop
<stop stop-color="#762166"/>
CSS variable + fill
:root { --c: #762166; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #762166; background-color: #762166; bg-[#762166]