#ed2252
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 | #ed2252 | |
| RGB | rgb(237 34 82) | |
| HSL | hsl(345.81 84.94% 53.14%) | |
| OKLCH | oklch(0.61 0.23 16.08) | |
| CMYK | cmyk(0% 85.65% 65.4% 7.06%) | |
| Android | #ffed2252 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.24:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.95: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="#ed2252"
Gradient stop
<stop stop-color="#ed2252"/>
CSS variable + fill
:root { --c: #ed2252; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ed2252; background-color: #ed2252; bg-[#ed2252]