#f397ef
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 | #f397ef | |
| RGB | rgb(243 151 239) | |
| HSL | hsl(302.61 79.31% 77.25%) | |
| OKLCH | oklch(0.8 0.16 328.45) | |
| CMYK | cmyk(0% 37.86% 1.65% 4.71%) | |
| Android | #fff397ef |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.00:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
10.48: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="#f397ef"
Gradient stop
<stop stop-color="#f397ef"/>
CSS variable + fill
:root { --c: #f397ef; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f397ef; background-color: #f397ef; bg-[#f397ef]