#F87AE2#F87AE2

#F87AE2 is a light, vivid pink. Relative luminance 0.394; OKLCH L 75.8% C 0.195 H 334.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#F87AE2
RGBrgb(248, 122, 226)
HSLhsl(310, 90%, 73%)
HSVhsv(310, 51%, 97%)
CMYKcmyk(0%, 50.8%, 8.9%, 2.7%)
CIE-LABlab(69.02, 61.02, -31.14)
CIE-LCHlch(69.02, 68.51, 332.96°)
OKLaboklab(75.79% 0.1761 -0.0844)
OKLCHoklch(75.79% 0.195 334.4)
XYZxyz(59.3985, 39.3705, 76.4075)
Luminance0.3937 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AE2 #7AF890
analogous
#CF7AF8 #F87AE2 #F87AA3
triadic
#F87AE2 #E2F87A #7AE2F8
tetradic
#F87AE2 #F8CF7A #7AF890 #7AA3F8
square
#F87AE2 #F8CF7A #7AF890 #7AA3F8
split-complementary
#F87AE2 #A3F87A #7AF8CF
monochromatic
#EB0CC4 #F540D5 #F87AE2 #FBB4EF #FDE2F9

Accessibility & contrast

On white

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

On black

8.87
#F87AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AE2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AE2#FFFFFF#000000##000000
##F87AE21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#799DE5
Deuteranopia (green-blind)
#9DAFDE
Tritanopia (blue-blind)
#FF81A4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87ae2;
/* rgb */ color: rgb(248, 122, 226);
/* oklch */ color: oklch(75.8% 0.195 334.4);
Tailwind
colors: {
  custom: {
    50: '#fda5eb',
    500: '#f87ae2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ae2;
$custom-light: #fda5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ae2",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 310.476,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75794,
    "c": 0.19528,
    "h": 334.4
  },
  "luminance": 0.39367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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