#f18bdb
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 | #f18bdb | |
| RGB | rgb(241 139 219) | |
| HSL | hsl(312.94 78.46% 74.51%) | |
| OKLCH | oklch(0.77 0.16 335.49) | |
| CMYK | cmyk(0% 42.32% 9.13% 5.49%) | |
| Android | #fff18bdb |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
2.22:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.45: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="#f18bdb"
Gradient stop
<stop stop-color="#f18bdb"/>
CSS variable + fill
:root { --c: #f18bdb; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #f18bdb; background-color: #f18bdb; bg-[#f18bdb]