#F87BAF#F87BAF

#F87BAF is a light, vivid pink. Relative luminance 0.372; OKLCH L 74.0% C 0.162 H 355.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#F87BAF
RGBrgb(248, 123, 175)
HSLhsl(335, 90%, 73%)
HSVhsv(335, 50%, 97%)
CMYKcmyk(0%, 50.4%, 29.4%, 2.7%)
CIE-LABlab(67.44, 53.25, -5.01)
CIE-LCHlch(67.44, 53.49, 354.62°)
OKLaboklab(74.04% 0.1614 -0.0125)
OKLCHoklch(74.04% 0.162 355.6)
XYZxyz(53.5344, 37.2223, 44.9143)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BAF #7BF8C4
analogous
#F87BED #F87BAF #F8857B
triadic
#F87BAF #AFF87B #7BAFF8
tetradic
#F87BAF #EDF87B #7BF8C4 #857BF8
square
#F87BAF #EDF87B #7BF8C4 #857BF8
split-complementary
#F87BAF #7BF885 #7BEDF8
monochromatic
#EC0D6A #F5418C #F87BAF #FBB5D2 #FDE2ED

Accessibility & contrast

On white

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

On black

8.44
#F87BAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BAF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BAF#FFFFFF#000000##000000
##F87BAF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C96B1
Deuteranopia (green-blind)
#ADADAC
Tritanopia (blue-blind)
#FF748E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87baf;
/* rgb */ color: rgb(248, 123, 175);
/* oklch */ color: oklch(74.0% 0.162 355.6);
Tailwind
colors: {
  custom: {
    50: '#fea5c6',
    500: '#f87baf',
    950: '#000000',
  },
}
SCSS
$custom: #f87baf;
$custom-light: #fea5c6;
$custom-dark: #000000;
JSON
{
  "hex": "#f87baf",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 335.04,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74041,
    "c": 0.16188,
    "h": 355.6
  },
  "luminance": 0.37218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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