#bd1e8a
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 | #bd1e8a | |
| RGB | rgb(189 30 138) | |
| HSL | hsl(319.25 72.6% 42.94%) | |
| OKLCH | oklch(0.54 0.21 345.43) | |
| CMYK | cmyk(0% 84.13% 26.98% 25.88%) | |
| Android | #ffbd1e8a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.65:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.71: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="#bd1e8a"
Gradient stop
<stop stop-color="#bd1e8a"/>
CSS variable + fill
:root { --c: #bd1e8a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bd1e8a; background-color: #bd1e8a; bg-[#bd1e8a]