#f236af
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 | #f236af | |
| RGB | rgb(242 54 175) | |
| HSL | hsl(321.38 87.85% 58.04%) | |
| OKLCH | oklch(0.66 0.24 346.71) | |
| CMYK | cmyk(0% 77.69% 27.69% 5.1%) | |
| Android | #fff236af |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
3.54:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.92: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="#f236af"
Gradient stop
<stop stop-color="#f236af"/>
CSS variable + fill
:root { --c: #f236af; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f236af; background-color: #f236af; bg-[#f236af]