#fc45d7
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 | #fc45d7 | |
| RGB | rgb(252 69 215) | |
| HSL | hsl(312.13 96.83% 62.94%) | |
| OKLCH | oklch(0.7 0.26 337.5) | |
| CMYK | cmyk(0% 72.62% 14.68% 1.18%) | |
| Android | #fffc45d7 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.01:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
6.97: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="#fc45d7"
Gradient stop
<stop stop-color="#fc45d7"/>
CSS variable + fill
:root { --c: #fc45d7; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #fc45d7; background-color: #fc45d7; bg-[#fc45d7]