#F87BAC#F87BAC

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

Color values

HEX#F87BAC
RGBrgb(248, 123, 172)
HSLhsl(336, 90%, 73%)
HSVhsv(336, 50%, 97%)
CMYKcmyk(0%, 50.4%, 30.6%, 2.7%)
CIE-LABlab(67.36, 52.88, -3.45)
CIE-LCHlch(67.36, 52.99, 356.27°)
OKLaboklab(73.95% 0.1604 -0.0084)
OKLCHoklch(73.95% 0.161 357)
XYZxyz(53.2430, 37.1058, 43.3798)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BAC #7BF8C7
analogous
#F87BEA #F87BAC #F8887B
triadic
#F87BAC #ACF87B #7BACF8
tetradic
#F87BAC #EAF87B #7BF8C7 #887BF8
square
#F87BAC #EAF87B #7BF8C7 #887BF8
split-complementary
#F87BAC #7BF888 #7BEAF8
monochromatic
#EC0D64 #F54187 #F87BAC #FBB5D1 #FDE2ED

Accessibility & contrast

On white

2.49
#F87BAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#F87BAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BAC
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BAC#FFFFFF#000000##000000
##F87BAC1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D96AE
Deuteranopia (green-blind)
#AEADA9
Tritanopia (blue-blind)
#FF738D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87bac;
/* rgb */ color: rgb(248, 123, 172);
/* oklch */ color: oklch(73.9% 0.161 357.0);
Tailwind
colors: {
  custom: {
    50: '#fea5c4',
    500: '#f87bac',
    950: '#000000',
  },
}
SCSS
$custom: #f87bac;
$custom-light: #fea5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bac",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 172
  },
  "hsl": {
    "h": 336.48,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73947,
    "c": 0.16065,
    "h": 357
  },
  "luminance": 0.37101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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