#bd228a
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 | #bd228a | |
| RGB | rgb(189 34 138) | |
| HSL | hsl(319.74 69.51% 43.73%) | |
| OKLCH | oklch(0.54 0.21 345.58) | |
| CMYK | cmyk(0% 82.01% 26.98% 25.88%) | |
| Android | #ffbd228a |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.58:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.75: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="#bd228a"
Gradient stop
<stop stop-color="#bd228a"/>
CSS variable + fill
:root { --c: #bd228a; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #bd228a; background-color: #bd228a; bg-[#bd228a]