#d40cae
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 | #d40cae | |
| RGB | rgb(212 12 174) | |
| HSL | hsl(311.4 89.29% 43.92%) | |
| OKLCH | oklch(0.59 0.25 338.96) | |
| CMYK | cmyk(0% 94.34% 17.92% 16.86%) | |
| Android | #ffd40cae |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.70:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.46:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff
Shades & tints
OKLCH lightness, mixed toward white then black.
Harmonies
Complementary
Analogous
Triadic
Color-blindness
Normal
Protanopia
Deuteranopia
Tritanopia
SVG snippets
fill
fill="#d40cae"
Gradient stop
<stop stop-color="#d40cae"/>
CSS variable + fill
:root { --c: #d40cae; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d40cae; background-color: #d40cae; bg-[#d40cae]