Toolman

#FEF2F2 color

#FEF2F2#FEF2F2

The swatch above shows #FEF2F2 with its hex code written on it in white and in black, so you can see which of the two is legible before reading the measured ratios below.

#FEF2F2 is a very light, vivid red, closest to the CSS named color lavenderblush (#FFF0F5).

It is also a Tailwind CSS default: red-50. That means you can write bg-red-50 or text-red-50 directly, with no arbitrary-value brackets and no entry in your theme config.

Color values

HEX#FEF2F2
RGBrgb(254, 242, 242)
HSLhsl(0, 86%, 97%)
CMYKcmyk(0%, 5%, 5%, 0%)
Decimal16708338
CSScolor: #FEF2F2;
Android0xFFFEF2F2
SwiftUIColor(red: 0.996, green: 0.949, blue: 0.949, alpha: 1)

Accessibility and contrast

White text on #FEF2F21.09:1 — AA fail · AA large fail · AAA fail
Black text on #FEF2F219.20:1 — AA pass · AA large pass · AAA pass
Recommended text colorblack

WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).

Tints and shades of #FEF2F2

Each swatch keeps the hue and saturation of #FEF2F2 and varies only lightness — the quickest way to build a usable scale from a single brand color.

95%
85%
75%
65%
55%
45%
35%
25%
15%

Colors that go with #FEF2F2

Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.

Complementary
Triadic +120°
Triadic +240°
Analogous −30°
Analogous +30°
Split −150°
Split +150°

Using #FEF2F2 in code

/* CSS */
.element { color: #FEF2F2; background-color: #FEF2F2; }
.element { color: rgb(254 242 242); }
.element { color: hsl(0 86% 97%); }

/* Tailwind */
<div class="bg-red-50 text-black">

/* SCSS variable */
$brand: #FEF2F2;

Frequently asked questions

What color is #FEF2F2?

#FEF2F2 is a very light, vivid red. Its hue sits at 0° on the color wheel, with 86% saturation and 97% lightness.

What is #FEF2F2 in RGB?

#FEF2F2 converts to rgb(254, 242, 242) — 254 red, 242 green and 242 blue.

What is #FEF2F2 in CMYK?

Approximately cmyk(0%, 5%, 5%, 0%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.

Should text on #FEF2F2 be white or black?

Black gives the better contrast ratio (19.20:1 versus 1.09:1).

What is the complementary color of #FEF2F2?

#F1FEFE — the hue directly opposite #FEF2F2 on the color wheel.

Convert any color → · Browse all colors