#F87FA8#F87FA8

#F87FA8 is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.4% C 0.153 H 0.0°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#F87FA8
RGBrgb(248, 127, 168)
HSLhsl(340, 90%, 74%)
HSVhsv(340, 49%, 97%)
CMYKcmyk(0%, 48.8%, 32.3%, 2.7%)
CIE-LABlab(68.00, 50.45, -0.25)
CIE-LCHlch(68.00, 50.45, 359.71°)
OKLaboklab(74.39% 0.1532 0)
OKLCHoklch(74.39% 0.153 0)
XYZxyz(53.3710, 37.9672, 41.5558)
Luminance0.3796 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87FA8 #7FF8CF
analogous
#F87FE5 #F87FA8 #F8927F
triadic
#F87FA8 #A8F87F #7FA8F8
tetradic
#F87FA8 #E5F87F #7FF8CF #927FF8
square
#F87FA8 #E5F87F #7FF8CF #927FF8
split-complementary
#F87FA8 #7FF892 #7FE5F8
monochromatic
#F00D5A #F54581 #F87FA8 #FBB9CF #FDE2EB

Accessibility & contrast

On white

2.44
#F87FA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#F87FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87FA8
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87FA8#FFFFFF#000000##000000
##F87FA81.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9298A9
Deuteranopia (green-blind)
#B1AEA5
Tritanopia (blue-blind)
#FF768E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f87fa8;
/* rgb */ color: rgb(248, 127, 168);
/* oklch */ color: oklch(74.4% 0.153 0.0);
Tailwind
colors: {
  custom: {
    50: '#fea7c1',
    500: '#f87fa8',
    950: '#000000',
  },
}
SCSS
$custom: #f87fa8;
$custom-light: #fea7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87fa8",
  "rgb": {
    "r": 248,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 339.669,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74392,
    "c": 0.15316,
    "h": 0
  },
  "luminance": 0.37962
}

Semantic roles & 50–950 ramp

primary
#F87FA8
secondary
#D6F5EB
accent
#E69800
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F87FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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