#F87F8E#F87F8E

#F87F8E is a light, vivid red. Relative luminance 0.371; OKLCH L 73.7% C 0.148 H 13.6°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#F87F8E
RGBrgb(248, 127, 142)
HSLhsl(353, 90%, 74%)
HSVhsv(353, 49%, 97%)
CMYKcmyk(0%, 48.8%, 42.7%, 2.7%)
CIE-LABlab(67.35, 47.54, 13.49)
CIE-LCHlch(67.35, 49.42, 15.84°)
OKLaboklab(73.69% 0.1438 0.0348)
OKLCHoklch(73.69% 0.148 13.6)
XYZxyz(51.1864, 37.0933, 30.0500)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87F8E #7FF8E9
analogous
#F87FCA #F87F8E #F8AC7F
triadic
#F87F8E #8EF87F #7F8EF8
tetradic
#F87F8E #CAF87F #7FF8E9 #AC7FF8
square
#F87F8E #CAF87F #7FF8E9 #AC7FF8
split-complementary
#F87F8E #7FF8AC #7FCAF8
monochromatic
#F00D29 #F5455B #F87F8E #FBB9C1 #FDE2E5

Accessibility & contrast

On white

2.49
#F87F8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#F87F8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87F8E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87F8E#FFFFFF#000000##000000
##F87F8E1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#97958E
Deuteranopia (green-blind)
#B6AD8B
Tritanopia (blue-blind)
#FF7185
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87f8e;
/* rgb */ color: rgb(248, 127, 142);
/* oklch */ color: oklch(73.7% 0.148 13.6);
Tailwind
colors: {
  custom: {
    50: '#fea7af',
    500: '#f87f8e',
    950: '#000000',
  },
}
SCSS
$custom: #f87f8e;
$custom-light: #fea7af;
$custom-dark: #000000;
JSON
{
  "hex": "#f87f8e",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 142
  },
  "hsl": {
    "h": 352.562,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73688,
    "c": 0.14799,
    "h": 13.6
  },
  "luminance": 0.37088
}

Semantic roles & 50–950 ramp

primary
#F87F8E
secondary
#D6F5F2
accent
#E6C900
background
#FFFAFA
surface
#FFF4F4
border
#D7CECE
text
#181010
muted
#867F7F

Preview Lab

Preview with #F87F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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