#be21c9
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 | #be21c9 | |
| RGB | rgb(190 33 201) | |
| HSL | hsl(296.07 71.79% 45.88%) | |
| OKLCH | oklch(0.58 0.25 325.08) | |
| CMYK | cmyk(5.47% 83.58% 0% 21.18%) | |
| Android | #ffbe21c9 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.94:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.25: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="#be21c9"
Gradient stop
<stop stop-color="#be21c9"/>
CSS variable + fill
:root { --c: #be21c9; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #be21c9; background-color: #be21c9; bg-[#be21c9]