#902873
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 | #902873 | |
| RGB | rgb(144 40 115) | |
| HSL | hsl(316.73 56.52% 36.08%) | |
| OKLCH | oklch(0.46 0.16 341.16) | |
| CMYK | cmyk(0% 72.22% 20.14% 43.53%) | |
| Android | #ff902873 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
7.67:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.73: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="#902873"
Gradient stop
<stop stop-color="#902873"/>
CSS variable + fill
:root { --c: #902873; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #902873; background-color: #902873; bg-[#902873]