#F87EC6#F87EC6

#F87EC6 is a light, vivid pink. Relative luminance 0.390; OKLCH L 75.2% C 0.169 H 345.5°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#F87EC6
RGBrgb(248, 126, 198)
HSLhsl(325, 90%, 73%)
HSVhsv(325, 49%, 97%)
CMYKcmyk(0%, 49.2%, 20.2%, 2.7%)
CIE-LABlab(68.72, 54.90, -16.02)
CIE-LCHlch(68.72, 57.19, 343.73°)
OKLaboklab(75.24% 0.1639 -0.0423)
OKLCHoklch(75.24% 0.169 345.5)
XYZxyz(56.3666, 38.9598, 57.9664)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EC6 #7EF8B0
analogous
#ED7EF8 #F87EC6 #F87E89
triadic
#F87EC6 #C6F87E #7EC6F8
tetradic
#F87EC6 #F8ED7E #7EF8B0 #7E89F8
square
#F87EC6 #F8ED7E #7EF8B0 #7E89F8
split-complementary
#F87EC6 #89F87E #7EF8ED
monochromatic
#EF0D92 #F544AC #F87EC6 #FBB8E0 #FDE2F2

Accessibility & contrast

On white

2.39
#F87EC6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#F87EC6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EC6
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EC6#FFFFFF#000000##000000
##F87EC61.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BC8
Deuteranopia (green-blind)
#A9AFC3
Tritanopia (blue-blind)
#FF7D99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87ec6;
/* rgb */ color: rgb(248, 126, 198);
/* oklch */ color: oklch(75.2% 0.169 345.5);
Tailwind
colors: {
  custom: {
    50: '#fda7d7',
    500: '#f87ec6',
    950: '#000000',
  },
}
SCSS
$custom: #f87ec6;
$custom-light: #fda7d7;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ec6",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 198
  },
  "hsl": {
    "h": 324.59,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75237,
    "c": 0.16925,
    "h": 345.5
  },
  "luminance": 0.38955
}

Semantic roles & 50–950 ramp

primary
#F87EC6
secondary
#D5F6E3
accent
#E65E00
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F87EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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