#ffbafa
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 | #ffbafa | |
| RGB | rgb(255 186 250) | |
| HSL | hsl(304.35 100% 86.47%) | |
| OKLCH | oklch(0.87 0.11 328.96) | |
| CMYK | cmyk(0% 27.06% 1.96% 0%) | |
| Android | #ffffbafa |
Names & lists
Web-safe: No
Tailwind: No
Contrast
Aa
1.53:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
13.65: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="#ffbafa"
Gradient stop
<stop stop-color="#ffbafa"/>
CSS variable + fill
:root { --c: #ffbafa; }
svg .icon { fill: var(--c); }
CSS
color / background
color: #ffbafa; background-color: #ffbafa; bg-[#ffbafa]