#501253
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 | #501253 | |
| RGB | rgb(80 18 83) | |
| HSL | hsl(297.23 64.36% 19.8%) | |
| OKLCH | oklch(0.32 0.12 325.99) | |
| CMYK | cmyk(3.61% 78.31% 0% 67.45%) | |
| Android | #ff501253 |
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="#501253"
Gradient stop
<stop stop-color="#501253"/>
CSS variable + fill
:root { --c: #501253; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #501253; background-color: #501253; bg-[#501253]