#F87172#F87172

#F87172 is a light, vivid red. Relative luminance 0.330; OKLCH L 71.1% C 0.166 H 21.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#F87172
RGBrgb(248, 113, 114)
HSLhsl(360, 91%, 71%)
HSVhsv(360, 54%, 97%)
CMYKcmyk(0%, 54.4%, 54%, 2.7%)
CIE-LABlab(64.15, 51.75, 24.93)
CIE-LCHlch(64.15, 57.44, 25.72°)
OKLaboklab(71.08% 0.1542 0.0616)
OKLCHoklch(71.08% 0.166 21.8)
XYZxyz(47.6576, 32.9873, 19.7738)
Luminance0.3298 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87172 #71F8F7
analogous
#F871B5 #F87172 #F8B471
triadic
#F87172 #72F871 #7172F8
tetradic
#F87172 #B5F871 #71F8F7 #B471F8
square
#F87172 #B5F871 #71F8F7 #B471F8
split-complementary
#F87172 #71F8B4 #71B5F8
monochromatic
#E30B0D #F53738 #F87172 #FBABAC #FEE2E2

Accessibility & contrast

On white

2.76
#F87172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#F87172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87172
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87172#FFFFFF#000000##000000
##F871721.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918A71
Deuteranopia (green-blind)
#B3A66F
Tritanopia (blue-blind)
#FF5B72
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #f87172;
/* rgb */ color: rgb(248, 113, 114);
/* oklch */ color: oklch(71.1% 0.166 21.8);
Tailwind
colors: {
  custom: {
    50: '#ff9e9a',
    500: '#f87172',
    950: '#000000',
  },
}
SCSS
$custom: #f87172;
$custom-light: #ff9e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f87172",
  "rgb": {
    "r": 248,
    "g": 113,
    "b": 114
  },
  "hsl": {
    "h": 359.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71083,
    "c": 0.16605,
    "h": 21.8
  },
  "luminance": 0.32982
}

Semantic roles & 50–950 ramp

primary
#F87172
secondary
#D0F5F4
accent
#E6E400
background
#FFF9F9
surface
#FFF2F2
border
#D7CCCC
text
#190F0E
muted
#877E7E

Preview Lab

Preview with #F87172

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

Preview Lab → · Contrast checker → · Palette generator →

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