#F87EC8#F87EC8

#F87EC8 is a light, vivid pink. Relative luminance 0.390; OKLCH L 75.3% C 0.170 H 344.7°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#F87EC8
RGBrgb(248, 126, 200)
HSLhsl(324, 90%, 73%)
HSVhsv(324, 49%, 97%)
CMYKcmyk(0%, 49.2%, 19.4%, 2.7%)
CIE-LABlab(68.79, 55.18, -17.04)
CIE-LCHlch(68.79, 57.75, 342.84°)
OKLaboklab(75.31% 0.1644 -0.0451)
OKLCHoklch(75.31% 0.17 344.7)
XYZxyz(56.5988, 39.0527, 59.1893)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EC8 #7EF8AE
analogous
#EB7EF8 #F87EC8 #F87E8B
triadic
#F87EC8 #C8F87E #7EC8F8
tetradic
#F87EC8 #F8EB7E #7EF8AE #7E8BF8
square
#F87EC8 #F8EB7E #7EF8AE #7E8BF8
split-complementary
#F87EC8 #8BF87E #7EF8EB
monochromatic
#EF0D96 #F544AF #F87EC8 #FBB8E1 #FDE2F3

Accessibility & contrast

On white

2.38
#F87EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#F87EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EC8
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EC8#FFFFFF#000000##000000
##F87EC81.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#879BCB
Deuteranopia (green-blind)
#A8AFC5
Tritanopia (blue-blind)
#FF7D9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87ec8;
/* rgb */ color: rgb(248, 126, 200);
/* oklch */ color: oklch(75.3% 0.170 344.7);
Tailwind
colors: {
  custom: {
    50: '#fda7d8',
    500: '#f87ec8',
    950: '#000000',
  },
}
SCSS
$custom: #f87ec8;
$custom-light: #fda7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ec8",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 323.607,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7531,
    "c": 0.17049,
    "h": 344.7
  },
  "luminance": 0.39048
}

Semantic roles & 50–950 ramp

primary
#F87EC8
secondary
#D5F6E2
accent
#E65A00
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F87EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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