#F87BA8#F87BA8

#F87BA8 is a light, vivid pink. Relative luminance 0.369; OKLCH L 73.8% C 0.159 H 359.0°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#F87BA8
RGBrgb(248, 123, 168)
HSLhsl(338, 90%, 73%)
HSVhsv(338, 50%, 97%)
CMYKcmyk(0%, 50.4%, 32.3%, 2.7%)
CIE-LABlab(67.24, 52.39, -1.35)
CIE-LCHlch(67.24, 52.41, 358.52°)
OKLaboklab(73.82% 0.1591 -0.0029)
OKLCHoklch(73.82% 0.159 359)
XYZxyz(52.8646, 36.9544, 41.3870)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BA8 #7BF8CB
analogous
#F87BE6 #F87BA8 #F88C7B
triadic
#F87BA8 #A8F87B #7BA8F8
tetradic
#F87BA8 #E6F87B #7BF8CB #8C7BF8
square
#F87BA8 #E6F87B #7BF8CB #8C7BF8
split-complementary
#F87BA8 #7BF88C #7BE6F8
monochromatic
#EC0D5D #F54182 #F87BA8 #FBB5CE #FDE2EC

Accessibility & contrast

On white

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

On black

8.39
#F87BA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BA8
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BA8#FFFFFF#000000##000000
##F87BA81.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E95A9
Deuteranopia (green-blind)
#AFACA5
Tritanopia (blue-blind)
#FF728C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87ba8;
/* rgb */ color: rgb(248, 123, 168);
/* oklch */ color: oklch(73.8% 0.159 359.0);
Tailwind
colors: {
  custom: {
    50: '#fea5c1',
    500: '#f87ba8',
    950: '#000000',
  },
}
SCSS
$custom: #f87ba8;
$custom-light: #fea5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ba8",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 168
  },
  "hsl": {
    "h": 338.4,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73824,
    "c": 0.15914,
    "h": 359
  },
  "luminance": 0.3695
}

Semantic roles & 50–950 ramp

primary
#F87BA8
secondary
#D5F6EA
accent
#E69300
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F87BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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