#da40b5
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 | #da40b5 | |
| RGB | rgb(218 64 181) | |
| HSL | hsl(314.42 67.54% 55.29%) | |
| OKLCH | oklch(0.63 0.22 339.2) | |
| CMYK | cmyk(0% 70.64% 16.97% 14.51%) | |
| Android | #ffda40b5 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.90:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.38: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="#da40b5"
Gradient stop
<stop stop-color="#da40b5"/>
CSS variable + fill
:root { --c: #da40b5; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #da40b5; background-color: #da40b5; bg-[#da40b5]