#da168c
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 | #da168c | |
| RGB | rgb(218 22 140) | |
| HSL | hsl(323.88 81.67% 47.06%) | |
| OKLCH | oklch(0.59 0.24 351.75) | |
| CMYK | cmyk(0% 89.91% 35.78% 14.51%) | |
| Android | #ffda168c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.69:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.47: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="#da168c"
Gradient stop
<stop stop-color="#da168c"/>
CSS variable + fill
:root { --c: #da168c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #da168c; background-color: #da168c; bg-[#da168c]