#F87AB2#F87AB2

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

Color values

HEX#F87AB2
RGBrgb(248, 122, 178)
HSLhsl(333, 90%, 73%)
HSVhsv(333, 51%, 97%)
CMYKcmyk(0%, 50.8%, 28.2%, 2.7%)
CIE-LABlab(67.35, 54.11, -6.85)
CIE-LCHlch(67.35, 54.54, 352.79°)
OKLaboklab(74% 0.1638 -0.0174)
OKLCHoklch(74% 0.165 353.9)
XYZxyz(53.7089, 37.0947, 46.4422)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87AB2 #7AF8C0
analogous
#F87AF1 #F87AB2 #F8817A
triadic
#F87AB2 #B2F87A #7AB2F8
tetradic
#F87AB2 #F1F87A #7AF8C0 #817AF8
square
#F87AB2 #F1F87A #7AF8C0 #817AF8
split-complementary
#F87AB2 #7AF881 #7AF1F8
monochromatic
#EB0C6F #F54090 #F87AB2 #FBB4D4 #FDE2EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F87AB2#FFFFFF#000000##000000
##F87AB21.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)
#8B96B4
Deuteranopia (green-blind)
#ACACAF
Tritanopia (blue-blind)
#FF748F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87ab2;
/* rgb */ color: rgb(248, 122, 178);
/* oklch */ color: oklch(74.0% 0.165 353.9);
Tailwind
colors: {
  custom: {
    50: '#fea4c9',
    500: '#f87ab2',
    950: '#000000',
  },
}
SCSS
$custom: #f87ab2;
$custom-light: #fea4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ab2",
  "rgb": {
    "r": 248,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 333.333,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73999,
    "c": 0.16474,
    "h": 353.9
  },
  "luminance": 0.3709
}

Semantic roles & 50–950 ramp

primary
#F87AB2
secondary
#D5F6E7
accent
#E67F00
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F87AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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