#f26be2
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 | #f26be2 | |
| RGB | rgb(242 107 226) | |
| HSL | hsl(307.11 83.85% 68.43%) | |
| OKLCH | oklch(0.73 0.21 332.32) | |
| CMYK | cmyk(0% 55.79% 6.61% 5.1%) | |
| Android | #fff26be2 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.63:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.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="#f26be2"
Gradient stop
<stop stop-color="#f26be2"/>
CSS variable + fill
:root { --c: #f26be2; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f26be2; background-color: #f26be2; bg-[#f26be2]