#F87EA8#F87EA8

#F87EA8 is a light, vivid pink. Relative luminance 0.377; OKLCH L 74.2% C 0.155 H 359.7°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#F87EA8
RGBrgb(248, 126, 168)
HSLhsl(339, 90%, 73%)
HSVhsv(339, 49%, 97%)
CMYKcmyk(0%, 49.2%, 32.3%, 2.7%)
CIE-LABlab(67.81, 50.94, -0.53)
CIE-LCHlch(67.81, 50.94, 359.40°)
OKLaboklab(74.25% 0.1547 -0.0007)
OKLCHoklch(74.25% 0.155 359.7)
XYZxyz(53.2425, 37.7102, 41.5129)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EA8 #7EF8CE
analogous
#F87EE5 #F87EA8 #F8917E
triadic
#F87EA8 #A8F87E #7EA8F8
tetradic
#F87EA8 #E5F87E #7EF8CE #917EF8
square
#F87EA8 #E5F87E #7EF8CE #917EF8
split-complementary
#F87EA8 #7EF891 #7EE5F8
monochromatic
#EF0D5B #F54481 #F87EA8 #FBB8CF #FDE2EB

Accessibility & contrast

On white

2.46
#F87EA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#F87EA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EA8
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EA8#FFFFFF#000000##000000
##F87EA81.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9197A9
Deuteranopia (green-blind)
#B0AEA5
Tritanopia (blue-blind)
#FF758D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f87ea8;
/* rgb */ color: rgb(248, 126, 168);
/* oklch */ color: oklch(74.2% 0.155 359.7);
Tailwind
colors: {
  custom: {
    50: '#fea6c1',
    500: '#f87ea8',
    950: '#000000',
  },
}
SCSS
$custom: #f87ea8;
$custom-light: #fea6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ea8",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 339.344,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74249,
    "c": 0.15465,
    "h": 359.7
  },
  "luminance": 0.37705
}

Semantic roles & 50–950 ramp

primary
#F87EA8
secondary
#D5F6EA
accent
#E69600
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F87EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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