#F87271#F87271

#F87271 is a light, vivid red. Relative luminance 0.332; OKLCH L 71.2% C 0.165 H 22.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#F87271
RGBrgb(248, 114, 113)
HSLhsl(0, 91%, 71%)
HSVhsv(0, 54%, 97%)
CMYKcmyk(0%, 54%, 54.4%, 2.7%)
CIE-LABlab(64.31, 51.20, 25.71)
CIE-LCHlch(64.31, 57.29, 26.67°)
OKLaboklab(71.2% 0.1523 0.0634)
OKLCHoklch(71.2% 0.165 22.6)
XYZxyz(47.7132, 33.1890, 19.5131)
Luminance0.3318 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87271 #71F7F8
analogous
#F871B4 #F87271 #F8B571
triadic
#F87271 #71F872 #7271F8
tetradic
#F87271 #B4F871 #71F7F8 #B571F8
square
#F87271 #B4F871 #71F7F8 #B571F8
split-complementary
#F87271 #71F8B5 #71B4F8
monochromatic
#E30D0B #F53837 #F87271 #FBACAB #FEE2E2

Accessibility & contrast

On white

2.75
#F87271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#F87271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87271
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87271#FFFFFF#000000##000000
##F872711.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928B70
Deuteranopia (green-blind)
#B3A76E
Tritanopia (blue-blind)
#FF5C73
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #f87271;
/* rgb */ color: rgb(248, 114, 113);
/* oklch */ color: oklch(71.2% 0.165 22.6);
Tailwind
colors: {
  custom: {
    50: '#ff9e99',
    500: '#f87271',
    950: '#000000',
  },
}
SCSS
$custom: #f87271;
$custom-light: #ff9e99;
$custom-dark: #000000;
JSON
{
  "hex": "#f87271",
  "rgb": {
    "r": 248,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 0.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.712,
    "c": 0.165,
    "h": 22.6
  },
  "luminance": 0.33183
}

Semantic roles & 50–950 ramp

primary
#F87271
secondary
#D0F4F5
accent
#E4E600
background
#FFFAF9
surface
#FFF3F2
border
#D7CDCC
text
#190F0E
muted
#877F7E

Preview Lab

Preview with #F87271

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F87271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva