#d145a2
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 | #d145a2 | |
| RGB | rgb(209 69 162) | |
| HSL | hsl(320.14 60.34% 54.51%) | |
| OKLCH | oklch(0.62 0.2 343.81) | |
| CMYK | cmyk(0% 66.99% 22.49% 18.04%) | |
| Android | #ffd145a2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.13:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.08: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="#d145a2"
Gradient stop
<stop stop-color="#d145a2"/>
CSS variable + fill
:root { --c: #d145a2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d145a2; background-color: #d145a2; bg-[#d145a2]