#F87DE2#F87DE2

#F87DE2 is a light, vivid pink. Relative luminance 0.401; OKLCH L 76.2% C 0.191 H 334.5°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#F87DE2
RGBrgb(248, 125, 226)
HSLhsl(311, 90%, 73%)
HSVhsv(311, 50%, 97%)
CMYKcmyk(0%, 49.6%, 8.9%, 2.7%)
CIE-LABlab(69.55, 59.61, -30.32)
CIE-LCHlch(69.55, 66.88, 333.04°)
OKLaboklab(76.19% 0.172 -0.0821)
OKLCHoklch(76.19% 0.191 334.5)
XYZxyz(59.7725, 40.1186, 76.5322)
Luminance0.4012 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DE2 #7DF893
analogous
#D17DF8 #F87DE2 #F87DA4
triadic
#F87DE2 #E2F87D #7DE2F8
tetradic
#F87DE2 #F8D17D #7DF893 #7DA4F8
square
#F87DE2 #F8D17D #7DF893 #7DA4F8
split-complementary
#F87DE2 #A4F87D #7DF8D1
monochromatic
#EE0DC6 #F543D5 #F87DE2 #FBB7EF #FDE2F9

Accessibility & contrast

On white

2.33
#F87DE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#F87DE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DE2
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DE2#FFFFFF#000000##000000
##F87DE21.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9EE5
Deuteranopia (green-blind)
#9FB0DF
Tritanopia (blue-blind)
#FF84A5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #f87de2;
/* rgb */ color: rgb(248, 125, 226);
/* oklch */ color: oklch(76.2% 0.191 334.5);
Tailwind
colors: {
  custom: {
    50: '#fda7eb',
    500: '#f87de2',
    950: '#000000',
  },
}
SCSS
$custom: #f87de2;
$custom-light: #fda7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#f87de2",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 310.732,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76191,
    "c": 0.19059,
    "h": 334.5
  },
  "luminance": 0.40115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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