#F87ECC#F87ECC

#F87ECC is a light, vivid pink. Relative luminance 0.392; OKLCH L 75.5% C 0.173 H 343.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#F87ECC
RGBrgb(248, 126, 204)
HSLhsl(322, 90%, 73%)
HSVhsv(322, 49%, 97%)
CMYKcmyk(0%, 49.2%, 17.7%, 2.7%)
CIE-LABlab(68.93, 55.76, -19.06)
CIE-LCHlch(68.93, 58.93, 341.13°)
OKLaboklab(75.46% 0.1655 -0.0507)
OKLCHoklch(75.46% 0.173 343)
XYZxyz(57.0724, 39.2421, 61.6836)
Luminance0.3924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87ECC #7EF8AA
analogous
#E77EF8 #F87ECC #F87E8F
triadic
#F87ECC #CCF87E #7ECCF8
tetradic
#F87ECC #F8E77E #7EF8AA #7E8FF8
square
#F87ECC #F8E77E #7EF8AA #7E8FF8
split-complementary
#F87ECC #8FF87E #7EF8E7
monochromatic
#EF0D9D #F544B5 #F87ECC #FBB8E3 #FDE2F4

Accessibility & contrast

On white

2.37
#F87ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#F87ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87ECC
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87ECC#FFFFFF#000000##000000
##F87ECC1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCF
Deuteranopia (green-blind)
#A7B0C9
Tritanopia (blue-blind)
#FF7E9C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87ecc;
/* rgb */ color: rgb(248, 126, 204);
/* oklch */ color: oklch(75.5% 0.173 343.0);
Tailwind
colors: {
  custom: {
    50: '#fda7db',
    500: '#f87ecc',
    950: '#000000',
  },
}
SCSS
$custom: #f87ecc;
$custom-light: #fda7db;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ecc",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 321.639,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75457,
    "c": 0.17306,
    "h": 343
  },
  "luminance": 0.39238
}

Semantic roles & 50–950 ramp

primary
#F87ECC
secondary
#D5F6E1
accent
#E65300
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F87ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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