#F87ED8#F87ED8

#F87ED8 is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.9% C 0.181 H 338.2°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#F87ED8
RGBrgb(248, 126, 216)
HSLhsl(316, 90%, 73%)
HSVhsv(316, 49%, 97%)
CMYKcmyk(0%, 49.2%, 12.9%, 2.7%)
CIE-LABlab(69.36, 57.56, -25.08)
CIE-LCHlch(69.36, 62.79, 336.45°)
OKLaboklab(75.92% 0.1684 -0.0674)
OKLCHoklch(75.92% 0.181 338.2)
XYZxyz(58.5674, 39.8402, 69.5576)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87ED8 #7EF89E
analogous
#DB7EF8 #F87ED8 #F87E9B
triadic
#F87ED8 #D8F87E #7ED8F8
tetradic
#F87ED8 #F8DB7E #7EF89E #7E9BF8
square
#F87ED8 #F8DB7E #7EF89E #7E9BF8
split-complementary
#F87ED8 #9BF87E #7EF8DB
monochromatic
#EF0DB3 #F544C6 #F87ED8 #FBB8EA #FDE2F6

Accessibility & contrast

On white

2.34
#F87ED8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#F87ED8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87ED8
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87ED8#FFFFFF#000000##000000
##F87ED81.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#829EDB
Deuteranopia (green-blind)
#A3B0D5
Tritanopia (blue-blind)
#FF82A1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f87ed8;
/* rgb */ color: rgb(248, 126, 216);
/* oklch */ color: oklch(75.9% 0.181 338.2);
Tailwind
colors: {
  custom: {
    50: '#fda7e4',
    500: '#f87ed8',
    950: '#000000',
  },
}
SCSS
$custom: #f87ed8;
$custom-light: #fda7e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ed8",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 216
  },
  "hsl": {
    "h": 315.738,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75918,
    "c": 0.18142,
    "h": 338.2
  },
  "luminance": 0.39836
}

Semantic roles & 50–950 ramp

primary
#F87ED8
secondary
#D5F6DE
accent
#E63C00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F87ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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