#F87BA7#F87BA7

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

Color values

HEX#F87BA7
RGBrgb(248, 123, 167)
HSLhsl(339, 90%, 73%)
HSVhsv(339, 50%, 97%)
CMYKcmyk(0%, 50.4%, 32.7%, 2.7%)
CIE-LABlab(67.21, 52.27, -0.83)
CIE-LCHlch(67.21, 52.27, 359.09°)
OKLaboklab(73.79% 0.1588 -0.0015)
OKLCHoklch(73.79% 0.159 359.5)
XYZxyz(52.7718, 36.9173, 40.8982)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BA7 #7BF8CC
analogous
#F87BE5 #F87BA7 #F88D7B
triadic
#F87BA7 #A7F87B #7BA7F8
tetradic
#F87BA7 #E5F87B #7BF8CC #8D7BF8
square
#F87BA7 #E5F87B #7BF8CC #8D7BF8
split-complementary
#F87BA7 #7BF88D #7BE5F8
monochromatic
#EC0D5B #F54180 #F87BA7 #FBB5CE #FDE2EC

Accessibility & contrast

On white

2.51
#F87BA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#F87BA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BA7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BA7#FFFFFF#000000##000000
##F87BA71.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E95A8
Deuteranopia (green-blind)
#AFACA4
Tritanopia (blue-blind)
#FF728B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87ba7;
/* rgb */ color: rgb(248, 123, 167);
/* oklch */ color: oklch(73.8% 0.159 359.5);
Tailwind
colors: {
  custom: {
    50: '#fea5c1',
    500: '#f87ba7',
    950: '#000000',
  },
}
SCSS
$custom: #f87ba7;
$custom-light: #fea5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ba7",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 167
  },
  "hsl": {
    "h": 338.88,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73794,
    "c": 0.15879,
    "h": 359.5
  },
  "luminance": 0.36912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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