#d828bf
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 | #d828bf | |
| RGB | rgb(216 40 191) | |
| HSL | hsl(308.52 69.29% 50.2%) | |
| OKLCH | oklch(0.62 0.25 335.11) | |
| CMYK | cmyk(0% 81.48% 11.57% 15.29%) | |
| Android | #ffd828bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.22:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.97:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#d828bf"
Gradient stop
<stop stop-color="#d828bf"/>
CSS variable + fill
:root { --c: #d828bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d828bf; background-color: #d828bf; bg-[#d828bf]