#F87AB1#F87AB1

#F87AB1 is a light, vivid pink. Relative luminance 0.370; OKLCH L 74.0% C 0.164 H 354.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F87AB1
RGBrgb(248, 122, 177)
HSLhsl(334, 90%, 73%)
HSVhsv(334, 51%, 97%)
CMYKcmyk(0%, 50.8%, 28.6%, 2.7%)
CIE-LABlab(67.32, 53.98, -6.33)
CIE-LCHlch(67.32, 54.35, 353.32°)
OKLaboklab(73.97% 0.1635 -0.016)
OKLCHoklch(73.97% 0.164 354.4)
XYZxyz(53.6088, 37.0547, 45.9153)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AB1 #7AF8C1
analogous
#F87AF0 #F87AB1 #F8827A
triadic
#F87AB1 #B1F87A #7AB1F8
tetradic
#F87AB1 #F0F87A #7AF8C1 #827AF8
square
#F87AB1 #F0F87A #7AF8C1 #827AF8
split-complementary
#F87AB1 #7AF882 #7AF0F8
monochromatic
#EB0C6E #F5408F #F87AB1 #FBB4D3 #FDE2EE

Accessibility & contrast

On white

2.50
#F87AB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#F87AB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87AB1
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87AB1#FFFFFF#000000##000000
##F87AB11.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B96B3
Deuteranopia (green-blind)
#ACACAE
Tritanopia (blue-blind)
#FF738F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87ab1;
/* rgb */ color: rgb(248, 122, 177);
/* oklch */ color: oklch(74.0% 0.164 354.4);
Tailwind
colors: {
  custom: {
    50: '#fea4c8',
    500: '#f87ab1',
    950: '#000000',
  },
}
SCSS
$custom: #f87ab1;
$custom-light: #fea4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ab1",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 177
  },
  "hsl": {
    "h": 333.81,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73967,
    "c": 0.16428,
    "h": 354.4
  },
  "luminance": 0.3705
}

Semantic roles & 50–950 ramp

primary
#F87AB1
secondary
#D5F6E8
accent
#E68100
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F87AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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