#F87EC7#F87EC7

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

Color values

HEX#F87EC7
RGBrgb(248, 126, 199)
HSLhsl(324, 90%, 73%)
HSVhsv(324, 49%, 97%)
CMYKcmyk(0%, 49.2%, 19.8%, 2.7%)
CIE-LABlab(68.76, 55.04, -16.53)
CIE-LCHlch(68.76, 57.47, 343.28°)
OKLaboklab(75.27% 0.1642 -0.0437)
OKLCHoklch(75.27% 0.17 345.1)
XYZxyz(56.4823, 39.0061, 58.5759)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EC7 #7EF8AF
analogous
#EC7EF8 #F87EC7 #F87E8A
triadic
#F87EC7 #C7F87E #7EC7F8
tetradic
#F87EC7 #F8EC7E #7EF8AF #7E8AF8
square
#F87EC7 #F8EC7E #7EF8AF #7E8AF8
split-complementary
#F87EC7 #8AF87E #7EF8EC
monochromatic
#EF0D94 #F544AE #F87EC7 #FBB8E0 #FDE2F2

Accessibility & contrast

On white

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

On black

8.80
#F87EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EC7
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EC7#FFFFFF#000000##000000
##F87EC71.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BC9
Deuteranopia (green-blind)
#A9AFC4
Tritanopia (blue-blind)
#FF7D9A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87ec7;
/* rgb */ color: rgb(248, 126, 199);
/* oklch */ color: oklch(75.3% 0.170 345.1);
Tailwind
colors: {
  custom: {
    50: '#fda7d8',
    500: '#f87ec7',
    950: '#000000',
  },
}
SCSS
$custom: #f87ec7;
$custom-light: #fda7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ec7",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 324.098,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75273,
    "c": 0.16986,
    "h": 345.1
  },
  "luminance": 0.39002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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