#F87FD2#F87FD2

#F87FD2 is a light, vivid pink. Relative luminance 0.398; OKLCH L 75.8% C 0.176 H 340.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#F87FD2
RGBrgb(248, 127, 210)
HSLhsl(319, 90%, 74%)
HSVhsv(319, 49%, 97%)
CMYKcmyk(0%, 48.8%, 15.3%, 2.7%)
CIE-LABlab(69.32, 56.17, -21.80)
CIE-LCHlch(69.32, 60.26, 338.79°)
OKLaboklab(75.82% 0.1656 -0.0583)
OKLCHoklch(75.82% 0.176 340.6)
XYZxyz(57.9344, 39.7926, 65.5896)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FD2 #7FF8A5
analogous
#E17FF8 #F87FD2 #F87F95
triadic
#F87FD2 #D2F87F #7FD2F8
tetradic
#F87FD2 #F8E17F #7FF8A5 #7F95F8
square
#F87FD2 #F8E17F #7FF8A5 #7F95F8
split-complementary
#F87FD2 #95F87F #7FF8E1
monochromatic
#F00DA8 #F545BE #F87FD2 #FBB9E6 #FDE2F5

Accessibility & contrast

On white

2.34
#F87FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#F87FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FD2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FD2#FFFFFF#000000##000000
##F87FD21.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#859DD5
Deuteranopia (green-blind)
#A6B0CF
Tritanopia (blue-blind)
#FF819F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #f87fd2;
/* rgb */ color: rgb(248, 127, 210);
/* oklch */ color: oklch(75.8% 0.176 340.6);
Tailwind
colors: {
  custom: {
    50: '#fda8e0',
    500: '#f87fd2',
    950: '#000000',
  },
}
SCSS
$custom: #f87fd2;
$custom-light: #fda8e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fd2",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 318.843,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75821,
    "c": 0.17554,
    "h": 340.6
  },
  "luminance": 0.39788
}

Semantic roles & 50–950 ramp

primary
#F87FD2
secondary
#D6F5E0
accent
#E64800
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F87FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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