#d20154
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 | #d20154 | |
| RGB | rgb(210 1 84) | |
| HSL | hsl(336.17 99.05% 41.37%) | |
| OKLCH | oklch(0.55 0.22 10.04) | |
| CMYK | cmyk(0% 99.52% 60% 17.65%) | |
| Android | #ffd20154 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.42:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
3.87: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="#d20154"
Gradient stop
<stop stop-color="#d20154"/>
CSS variable + fill
:root { --c: #d20154; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d20154; background-color: #d20154; bg-[#d20154]