#bd408b
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 | #bd408b | |
| RGB | rgb(189 64 139) | |
| HSL | hsl(324 49.41% 49.61%) | |
| OKLCH | oklch(0.57 0.18 347.21) | |
| CMYK | cmyk(0% 66.14% 26.46% 25.88%) | |
| Android | #ffbd408b |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.91:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.26: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="#bd408b"
Gradient stop
<stop stop-color="#bd408b"/>
CSS variable + fill
:root { --c: #bd408b; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bd408b; background-color: #bd408b; bg-[#bd408b]