#d751a5
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 | #d751a5 | |
| RGB | rgb(215 81 165) | |
| HSL | hsl(322.39 62.62% 58.04%) | |
| OKLCH | oklch(0.64 0.19 345.24) | |
| CMYK | cmyk(0% 62.33% 23.26% 15.69%) | |
| Android | #ffd751a5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.74:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.60: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="#d751a5"
Gradient stop
<stop stop-color="#d751a5"/>
CSS variable + fill
:root { --c: #d751a5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d751a5; background-color: #d751a5; bg-[#d751a5]