#FEF2F2
Tailwind red-50
#FEF2F2 is a red colour. In RGB it is 254 red, 242 green and 242 blue, which converts to a hue of 0 degrees, 86% saturation and 97% lightness. It is Tailwind red-50 in that design system's palette.
Color values
| HEX | #FEF2F2 |
|---|---|
| RGB | rgb(254, 242, 242) |
| HSL | hsl(0, 86%, 97%) |
| HSV | hsv(0, 5%, 100%) |
| CMYK | cmyk(0%, 5%, 5%, 0%) |
Contrast and accessibility
Against white the contrast ratio is 1.09:1, and against black it is 19.2:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 1.09:1 | Fail | Fail |
| Black | 19.2:1 | AAA | AAA |
Tints and shades
Lighter tints move #FEF2F2 toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #FEF2F2; |
|---|---|
| CSS rgb() | color: rgb(254 242 242); |
| Tailwind | bg-[#fef2f2] |
| SwiftUI | Color(red: 0.996, green: 0.949, blue: 0.949) |
| Android | Color.parseColor("#FEF2F2") |
Closest named color
The nearest CSS colour keyword to #FEF2F2 is lavenderblush (#FFF0F5).