#eb254c
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 | #eb254c | |
| RGB | rgb(235 37 76) | |
| HSL | hsl(348.18 83.19% 53.33%) | |
| OKLCH | oklch(0.61 0.23 18.03) | |
| CMYK | cmyk(0% 84.26% 67.66% 7.84%) | |
| Android | #ffeb254c |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
4.28:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
4.90: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="#eb254c"
Gradient stop
<stop stop-color="#eb254c"/>
CSS variable + fill
:root { --c: #eb254c; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #eb254c; background-color: #eb254c; bg-[#eb254c]