#F87EC5#F87EC5

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

Color values

HEX#F87EC5
RGBrgb(248, 126, 197)
HSLhsl(325, 90%, 73%)
HSVhsv(325, 49%, 97%)
CMYKcmyk(0%, 49.2%, 20.6%, 2.7%)
CIE-LABlab(68.69, 54.76, -15.51)
CIE-LCHlch(68.69, 56.91, 344.18°)
OKLaboklab(75.2% 0.1636 -0.0409)
OKLCHoklch(75.2% 0.169 346)
XYZxyz(56.2516, 38.9138, 57.3609)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EC5 #7EF8B1
analogous
#EE7EF8 #F87EC5 #F87E88
triadic
#F87EC5 #C5F87E #7EC5F8
tetradic
#F87EC5 #F8EE7E #7EF8B1 #7E88F8
square
#F87EC5 #F8EE7E #7EF8B1 #7E88F8
split-complementary
#F87EC5 #88F87E #7EF8EE
monochromatic
#EF0D90 #F544AB #F87EC5 #FBB8DF #FDE2F2

Accessibility & contrast

On white

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

On black

8.78
#F87EC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EC5
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EC5#FFFFFF#000000##000000
##F87EC51.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#889BC7
Deuteranopia (green-blind)
#A9AFC2
Tritanopia (blue-blind)
#FF7C99
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87ec5;
/* rgb */ color: rgb(248, 126, 197);
/* oklch */ color: oklch(75.2% 0.169 346.0);
Tailwind
colors: {
  custom: {
    50: '#fda7d6',
    500: '#f87ec5',
    950: '#000000',
  },
}
SCSS
$custom: #f87ec5;
$custom-light: #fda7d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ec5",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 197
  },
  "hsl": {
    "h": 325.082,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75201,
    "c": 0.16864,
    "h": 346
  },
  "luminance": 0.38909
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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