#fc40bf
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 | #fc40bf | |
| RGB | rgb(252 64 191) | |
| HSL | hsl(319.47 96.91% 61.96%) | |
| OKLCH | oklch(0.69 0.25 344.37) | |
| CMYK | cmyk(0% 74.6% 24.21% 1.18%) | |
| Android | #fffc40bf |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.16:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.62: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="#fc40bf"
Gradient stop
<stop stop-color="#fc40bf"/>
CSS variable + fill
:root { --c: #fc40bf; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fc40bf; background-color: #fc40bf; bg-[#fc40bf]