#d154cf
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 | #d154cf | |
| RGB | rgb(209 84 207) | |
| HSL | hsl(300.96 57.6% 57.45%) | |
| OKLCH | oklch(0.65 0.21 328.31) | |
| CMYK | cmyk(0% 59.81% 0.96% 18.04%) | |
| Android | #ffd154cf |
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.88: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="#d154cf"
Gradient stop
<stop stop-color="#d154cf"/>
CSS variable + fill
:root { --c: #d154cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d154cf; background-color: #d154cf; bg-[#d154cf]