#F87BAB#F87BAB

#F87BAB is a light, vivid pink. Relative luminance 0.371; OKLCH L 73.9% C 0.160 H 357.5°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F87BAB
RGBrgb(248, 123, 171)
HSLhsl(337, 90%, 73%)
HSVhsv(337, 50%, 97%)
CMYKcmyk(0%, 50.4%, 31%, 2.7%)
CIE-LABlab(67.33, 52.75, -2.92)
CIE-LCHlch(67.33, 52.83, 356.83°)
OKLaboklab(73.92% 0.1601 -0.007)
OKLCHoklch(73.92% 0.16 357.5)
XYZxyz(53.1473, 37.0675, 42.8759)
Luminance0.3706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BAB #7BF8C8
analogous
#F87BE9 #F87BAB #F8897B
triadic
#F87BAB #ABF87B #7BABF8
tetradic
#F87BAB #E9F87B #7BF8C8 #897BF8
square
#F87BAB #E9F87B #7BF8C8 #897BF8
split-complementary
#F87BAB #7BF889 #7BE9F8
monochromatic
#EC0D62 #F54186 #F87BAB #FBB5D0 #FDE2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F87BAB#FFFFFF#000000##000000
##F87BAB1.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)
#8D96AD
Deuteranopia (green-blind)
#AEADA8
Tritanopia (blue-blind)
#FF738D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87bab;
/* rgb */ color: rgb(248, 123, 171);
/* oklch */ color: oklch(73.9% 0.160 357.5);
Tailwind
colors: {
  custom: {
    50: '#fea5c3',
    500: '#f87bab',
    950: '#000000',
  },
}
SCSS
$custom: #f87bab;
$custom-light: #fea5c3;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bab",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 336.96,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73916,
    "c": 0.16026,
    "h": 357.5
  },
  "luminance": 0.37063
}

Semantic roles & 50–950 ramp

primary
#F87BAB
secondary
#D5F6E9
accent
#E68D00
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F87BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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