#501351
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 | #501351 | |
| RGB | rgb(80 19 81) | |
| HSL | hsl(299.03 62% 19.61%) | |
| OKLCH | oklch(0.32 0.12 327.27) | |
| CMYK | cmyk(1.23% 76.54% 0% 68.24%) | |
| Android | #ff501351 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
13.52: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="#501351"
Gradient stop
<stop stop-color="#501351"/>
CSS variable + fill
:root { --c: #501351; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #501351; background-color: #501351; bg-[#501351]