#d152a5
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 | #d152a5 | |
| RGB | rgb(209 82 165) | |
| HSL | hsl(320.79 57.99% 57.06%) | |
| OKLCH | oklch(0.63 0.18 343.58) | |
| CMYK | cmyk(0% 60.77% 21.05% 18.04%) | |
| Android | #ffd152a5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.84:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.46: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="#d152a5"
Gradient stop
<stop stop-color="#d152a5"/>
CSS variable + fill
:root { --c: #d152a5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d152a5; background-color: #d152a5; bg-[#d152a5]