#F0AFE2 color
The hex color #F0AFE2 is a light, moderate magenta.
In the RGB color model it is made of 94.1% red, 68.6% green and 88.6% blue (240, 175, 226).
Its hue angle is 313°, with 68% saturation and 81% lightness. For print, the CMYK equivalent is 0% cyan, 27% magenta, 6% yellow and 6% black.
The closest named color is Hanami Pink (#F2ABE1), a difference of 1.2 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 11.94:1).
#F0AFE2 color codes
| HEX | #F0AFE2 | |
|---|---|---|
| RGB | rgb(240, 175, 226) | |
| RGB percent | rgb(94.1%, 68.6%, 88.6%) | |
| HSL | hsl(313, 68%, 81%) | |
| HSV / HSB | hsv(313, 27%, 94%) | |
| CMYK | cmyk(0%, 27%, 6%, 6%) | |
| CIE LAB | lab(78.86, 31.64, -16.22) | |
| CIE LCH | lch(78.86, 35.55, 332.85) | |
| CIE XYZ | xyz(64.992, 54.679, 79.067) | |
| Decimal | 15773666 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #F0AFE2, 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 #F0AFE2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.94:1 | Pass | Pass | Pass |
| Sample text | 1.76:1 | Fail | Fail | Fail |
| #F0AFE2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.76:1 | Fail | Fail | Fail |
| Sample text | 11.94: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 #F0AFE2 looks to people with the most common types of color vision deficiency.
#afbee4Protanopia
no red cones#bec7e0Deuteranopia
no green cones#f6b2c1Tritanopia
no blue cones#c3c3c3Achromatopsia
no color vision
CSS examples
.background { background-color: #f0afe2; }
.text { color: #f0afe2; }
.border { border: 2px solid #f0afe2; }
.transparent { background-color: rgb(240 175 226 / 50%); }
.gradient { background: linear-gradient(to right, #f0afe2, #f0afc2); }
Similar colors
#f2abe1Hanami Pink#edabe6Land of Dreams#e8a7e2Candy Floss#ffaaddFresh Gum#eeaaeePinky Swear#f0a0d1Violet Kiss#efb6d8Soft Cashmere#e3abcePink Bliss
Closest common color name: Cotton Candy.
Questions
- What color is #F0AFE2?
- #F0AFE2 is a light, moderate magenta, closest to the named color Hanami Pink. It belongs to the purple family of colors.
- What is the RGB value of #F0AFE2?
- The RGB value is 240, 175, 226: 240 red, 175 green and 226 blue on a 0 to 255 scale.
- What is the complementary color of #F0AFE2?
- The complementary color is #AFF0BD, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #F0AFE2?
- Black text. Black text has a contrast ratio of 11.94:1 and white text 1.76:1. WCAG asks for at least 4.5:1 for normal text.