#F87EC4#F87EC4

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

Color values

HEX#F87EC4
RGBrgb(248, 126, 196)
HSLhsl(326, 90%, 73%)
HSVhsv(326, 49%, 97%)
CMYKcmyk(0%, 49.2%, 21%, 2.7%)
CIE-LABlab(68.66, 54.61, -15.00)
CIE-LCHlch(68.66, 56.64, 344.64°)
OKLaboklab(75.17% 0.1633 -0.0395)
OKLCHoklch(75.17% 0.168 346.4)
XYZxyz(56.1374, 38.8682, 56.7595)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EC4 #7EF8B2
analogous
#EF7EF8 #F87EC4 #F87E87
triadic
#F87EC4 #C4F87E #7EC4F8
tetradic
#F87EC4 #F8EF7E #7EF8B2 #7E87F8
square
#F87EC4 #F8EF7E #7EF8B2 #7E87F8
split-complementary
#F87EC4 #87F87E #7EF8EF
monochromatic
#EF0D8E #F544A9 #F87EC4 #FBB8DF #FDE2F2

Accessibility & contrast

On white

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

On black

8.77
#F87EC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EC4
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EC4#FFFFFF#000000##000000
##F87EC41.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#899BC6
Deuteranopia (green-blind)
#A9AFC1
Tritanopia (blue-blind)
#FF7C99
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f87ec4;
/* rgb */ color: rgb(248, 126, 196);
/* oklch */ color: oklch(75.2% 0.168 346.4);
Tailwind
colors: {
  custom: {
    50: '#fda7d6',
    500: '#f87ec4',
    950: '#000000',
  },
}
SCSS
$custom: #f87ec4;
$custom-light: #fda7d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ec4",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 325.574,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75166,
    "c": 0.16803,
    "h": 346.4
  },
  "luminance": 0.38864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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