#d754cf
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 | #d754cf | |
| RGB | rgb(215 84 207) | |
| HSL | hsl(303.66 62.09% 58.63%) | |
| OKLCH | oklch(0.66 0.22 330.17) | |
| CMYK | cmyk(0% 60.93% 3.72% 15.69%) | |
| Android | #ffd754cf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.46:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.05: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="#d754cf"
Gradient stop
<stop stop-color="#d754cf"/>
CSS variable + fill
:root { --c: #d754cf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d754cf; background-color: #d754cf; bg-[#d754cf]