#d154ce
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 | #d154ce | |
| RGB | rgb(209 84 206) | |
| HSL | hsl(301.44 57.6% 57.45%) | |
| OKLCH | oklch(0.65 0.21 328.62) | |
| CMYK | cmyk(0% 59.81% 1.44% 18.04%) | |
| Android | #ffd154ce |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.57:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.87: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="#d154ce"
Gradient stop
<stop stop-color="#d154ce"/>
CSS variable + fill
:root { --c: #d154ce; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d154ce; background-color: #d154ce; bg-[#d154ce]