#F8BAFC color
The hex color #F8BAFC is a very light, vivid magenta.
In the RGB color model it is made of 97.3% red, 72.9% green and 98.8% blue (248, 186, 252).
Its hue angle is 296°, with 92% saturation and 86% lightness. For print, the CMYK equivalent is 2% cyan, 26% magenta, 0% yellow and 1% black.
The closest named color is Strawberry Buttercream (#F8B3FF), a difference of 2.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 13.42:1).
#F8BAFC color codes
| HEX | #F8BAFC | |
|---|---|---|
| RGB | rgb(248, 186, 252) | |
| RGB percent | rgb(97.3%, 72.9%, 98.8%) | |
| HSL | hsl(296, 92%, 86%) | |
| HSV / HSB | hsv(296, 26%, 99%) | |
| CMYK | cmyk(2%, 26%, 0%, 1%) | |
| CIE LAB | lab(82.97, 33.05, -23.88) | |
| CIE LCH | lch(82.97, 40.78, 324.15) | |
| CIE XYZ | xyz(73.839, 62.105, 100.174) | |
| Decimal | 16300796 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F8BAFC, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #F8BAFC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 13.42:1 | Pass | Pass | Pass |
| Sample text | 1.56:1 | Fail | Fail | Fail |
| #F8BAFC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.56:1 | Fail | Fail | Fail |
| Sample text | 13.42:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #F8BAFC looks to people with the most common types of color vision deficiency.
#b5caffProtanopia
no red cones#c3d1faDeuteranopia
no green cones#fbc0d1Tritanopia
no blue cones#cfcfcfAchromatopsia
no color vision
CSS examples
.background { background-color: #f8bafc; }
.text { color: #f8bafc; }
.border { border: 2px solid #f8bafc; }
.transparent { background-color: rgb(248 186 252 / 50%); }
.gradient { background: linear-gradient(to right, #f8bafc, #fcbadf); }
Similar colors
#f8b3ffStrawberry Buttercream#e9aef2Candy Dreams#eeaaeePinky Swear#edabe6Land of Dreams#ffaaffJigglypuff#ffccffSugar Chic#deadeaControlled Substance#e8a7e2Candy Floss
Closest common color name: Mauve.
Questions
- What color is #F8BAFC?
- #F8BAFC is a very light, vivid magenta, closest to the named color Strawberry Buttercream. It belongs to the purple family of colors.
- What is the RGB value of #F8BAFC?
- The RGB value is 248, 186, 252: 248 red, 186 green and 252 blue on a 0 to 255 scale.
- What is the complementary color of #F8BAFC?
- The complementary color is #BEFCBA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F8BAFC?
- Black text. Black text has a contrast ratio of 13.42:1 and white text 1.56:1. WCAG asks for at least 4.5:1 for normal text.