#F87EE2#F87EE2

#F87EE2 is a light, vivid pink. Relative luminance 0.404; OKLCH L 76.3% C 0.189 H 334.5°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#F87EE2
RGBrgb(248, 126, 226)
HSLhsl(311, 90%, 73%)
HSVhsv(311, 49%, 97%)
CMYKcmyk(0%, 49.2%, 8.9%, 2.7%)
CIE-LABlab(69.73, 59.13, -30.04)
CIE-LCHlch(69.73, 66.33, 333.07°)
OKLaboklab(76.33% 0.1706 -0.0814)
OKLCHoklch(76.33% 0.189 334.5)
XYZxyz(59.8998, 40.3731, 76.5746)
Luminance0.4037 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87EE2 #7EF894
analogous
#D17EF8 #F87EE2 #F87EA5
triadic
#F87EE2 #E2F87E #7EE2F8
tetradic
#F87EE2 #F8D17E #7EF894 #7EA5F8
square
#F87EE2 #F8D17E #7EF894 #7EA5F8
split-complementary
#F87EE2 #A5F87E #7EF8D1
monochromatic
#EF0DC6 #F544D5 #F87EE2 #FBB8EF #FDE2F8

Accessibility & contrast

On white

2.31
#F87EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#F87EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87EE2
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87EE2#FFFFFF#000000##000000
##F87EE21.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE5
Deuteranopia (green-blind)
#A0B1DF
Tritanopia (blue-blind)
#FF85A6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87ee2;
/* rgb */ color: rgb(248, 126, 226);
/* oklch */ color: oklch(76.3% 0.189 334.5);
Tailwind
colors: {
  custom: {
    50: '#fda7eb',
    500: '#f87ee2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ee2;
$custom-light: #fda7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ee2",
  "rgb": {
    "r": 248,
    "g": 126,
    "b": 226
  },
  "hsl": {
    "h": 310.82,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76325,
    "c": 0.18901,
    "h": 334.5
  },
  "luminance": 0.40369
}

Semantic roles & 50–950 ramp

primary
#F87EE2
secondary
#D5F6DB
accent
#E62900
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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