#fd2870
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 | #fd2870 | |
| RGB | rgb(253 40 112) | |
| HSL | hsl(339.72 98.16% 57.45%) | |
| OKLCH | oklch(0.65 0.24 8.84) | |
| CMYK | cmyk(0% 84.19% 55.73% 0.78%) | |
| Android | #fffd2870 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.67:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.71: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="#fd2870"
Gradient stop
<stop stop-color="#fd2870"/>
CSS variable + fill
:root { --c: #fd2870; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fd2870; background-color: #fd2870; bg-[#fd2870]