#f57fcb
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 | #f57fcb | |
| RGB | rgb(245 127 203) | |
| HSL | hsl(321.36 85.51% 72.94%) | |
| OKLCH | oklch(0.75 0.17 342.61) | |
| CMYK | cmyk(0% 48.16% 17.14% 3.92%) | |
| Android | #fff57fcb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.39:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.78: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="#f57fcb"
Gradient stop
<stop stop-color="#f57fcb"/>
CSS variable + fill
:root { --c: #f57fcb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f57fcb; background-color: #f57fcb; bg-[#f57fcb]