#fb2a50
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 | #fb2a50 | |
| RGB | rgb(251 42 80) | |
| HSL | hsl(349.09 96.31% 57.45%) | |
| OKLCH | oklch(0.64 0.24 18.7) | |
| CMYK | cmyk(0% 83.27% 68.13% 1.57%) | |
| Android | #fffb2a50 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.78:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.54: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="#fb2a50"
Gradient stop
<stop stop-color="#fb2a50"/>
CSS variable + fill
:root { --c: #fb2a50; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fb2a50; background-color: #fb2a50; bg-[#fb2a50]