#f287d0
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 | #f287d0 | |
| RGB | rgb(242 135 208) | |
| HSL | hsl(319.07 80.45% 73.92%) | |
| OKLCH | oklch(0.76 0.16 340.31) | |
| CMYK | cmyk(0% 44.21% 14.05% 5.1%) | |
| Android | #fff287d0 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.29:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.15: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="#f287d0"
Gradient stop
<stop stop-color="#f287d0"/>
CSS variable + fill
:root { --c: #f287d0; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f287d0; background-color: #f287d0; bg-[#f287d0]