#d02456
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 | #d02456 | |
| RGB | rgb(208 36 86) | |
| HSL | hsl(342.56 70.49% 47.84%) | |
| OKLCH | oklch(0.56 0.2 11.23) | |
| CMYK | cmyk(0% 82.69% 58.65% 18.43%) | |
| Android | #ffd02456 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
5.16:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.06: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="#d02456"
Gradient stop
<stop stop-color="#d02456"/>
CSS variable + fill
:root { --c: #d02456; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #d02456; background-color: #d02456; bg-[#d02456]