#d148cb
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 | #d148cb | |
| RGB | rgb(209 72 203) | |
| HSL | hsl(302.63 59.83% 55.1%) | |
| OKLCH | oklch(0.64 0.22 329.65) | |
| CMYK | cmyk(0% 65.55% 2.87% 18.04%) | |
| Android | #ffd148cb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.81:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.50: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="#d148cb"
Gradient stop
<stop stop-color="#d148cb"/>
CSS variable + fill
:root { --c: #d148cb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d148cb; background-color: #d148cb; bg-[#d148cb]