#F87EC2#F87EC2

#F87EC2 is a light, vivid pink. Relative luminance 0.388; OKLCH L 75.1% C 0.167 H 347.3°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#F87EC2
RGBrgb(248, 126, 194)
HSLhsl(327, 90%, 73%)
HSVhsv(327, 49%, 97%)
CMYKcmyk(0%, 49.2%, 21.8%, 2.7%)
CIE-LABlab(68.59, 54.33, -13.98)
CIE-LCHlch(68.59, 56.10, 345.57°)
OKLaboklab(75.1% 0.1628 -0.0367)
OKLCHoklch(75.1% 0.167 347.3)
XYZxyz(55.9113, 38.7777, 55.5686)
Luminance0.3877 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EC2 #7EF8B4
analogous
#F17EF8 #F87EC2 #F87E85
triadic
#F87EC2 #C2F87E #7EC2F8
tetradic
#F87EC2 #F8F17E #7EF8B4 #7E85F8
square
#F87EC2 #F8F17E #7EF8B4 #7E85F8
split-complementary
#F87EC2 #85F87E #7EF8F1
monochromatic
#EF0D8B #F544A7 #F87EC2 #FBB8DD #FDE2F1

Accessibility & contrast

On white

2.40
#F87EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#F87EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EC2
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EC2#FFFFFF#000000##000000
##F87EC21.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#899AC4
Deuteranopia (green-blind)
#AAAFBF
Tritanopia (blue-blind)
#FF7C98
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f87ec2;
/* rgb */ color: rgb(248, 126, 194);
/* oklch */ color: oklch(75.1% 0.167 347.3);
Tailwind
colors: {
  custom: {
    50: '#fda7d4',
    500: '#f87ec2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ec2;
$custom-light: #fda7d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ec2",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 326.557,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75095,
    "c": 0.16685,
    "h": 347.3
  },
  "luminance": 0.38773
}

Semantic roles & 50–950 ramp

primary
#F87EC2
secondary
#D5F6E4
accent
#E66600
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#181014
muted
#867F83

Preview Lab

Preview with #F87EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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