#be21a1
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 | #be21a1 | |
| RGB | rgb(190 33 161) | |
| HSL | hsl(311.08 70.4% 43.73%) | |
| OKLCH | oklch(0.56 0.22 337.41) | |
| CMYK | cmyk(0% 82.63% 15.26% 25.49%) | |
| Android | #ffbe21a1 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.35:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.92:1
Fail AA normal text
Pass 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="#be21a1"
Gradient stop
<stop stop-color="#be21a1"/>
CSS variable + fill
:root { --c: #be21a1; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #be21a1; background-color: #be21a1; bg-[#be21a1]