#F87FDF#F87FDF

#F87FDF is a light, vivid pink. Relative luminance 0.405; OKLCH L 76.3% C 0.185 H 335.6°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#F87FDF
RGBrgb(248, 127, 223)
HSLhsl(312, 90%, 74%)
HSVhsv(312, 49%, 97%)
CMYKcmyk(0%, 48.8%, 10.1%, 2.7%)
CIE-LABlab(69.80, 58.18, -28.28)
CIE-LCHlch(69.80, 64.69, 334.08°)
OKLaboklab(76.34% 0.1686 -0.0764)
OKLCHoklch(76.34% 0.185 335.6)
XYZxyz(59.6202, 40.4669, 74.4684)
Luminance0.4046 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FDF #7FF898
analogous
#D57FF8 #F87FDF #F87FA2
triadic
#F87FDF #DFF87F #7FDFF8
tetradic
#F87FDF #F8D57F #7FF898 #7FA2F8
square
#F87FDF #F8D57F #7FF898 #7FA2F8
split-complementary
#F87FDF #A2F87F #7FF8D5
monochromatic
#F00DC1 #F545D0 #F87FDF #FBB9EE #FDE2F8

Accessibility & contrast

On white

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

On black

9.09
#F87FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FDF
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FDF#FFFFFF#000000##000000
##F87FDF1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#809FE2
Deuteranopia (green-blind)
#A2B1DC
Tritanopia (blue-blind)
#FF85A5
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #f87fdf;
/* rgb */ color: rgb(248, 127, 223);
/* oklch */ color: oklch(76.3% 0.185 335.6);
Tailwind
colors: {
  custom: {
    50: '#fda8e9',
    500: '#f87fdf',
    950: '#000000',
  },
}
SCSS
$custom: #f87fdf;
$custom-light: #fda8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fdf",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 312.397,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76336,
    "c": 0.18509,
    "h": 335.6
  },
  "luminance": 0.40463
}

Semantic roles & 50–950 ramp

primary
#F87FDF
secondary
#D6F5DC
accent
#E62F00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F87FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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