#f38cd8
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 | #f38cd8 | |
| RGB | rgb(243 140 216) | |
| HSL | hsl(315.73 81.1% 75.1%) | |
| OKLCH | oklch(0.77 0.15 337.55) | |
| CMYK | cmyk(0% 42.39% 11.11% 4.71%) | |
| Android | #fff38cd8 |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.19:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.55: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="#f38cd8"
Gradient stop
<stop stop-color="#f38cd8"/>
CSS variable + fill
:root { --c: #f38cd8; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f38cd8; background-color: #f38cd8; bg-[#f38cd8]