#F877AB#F877AB

#F877AB is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.4% C 0.166 H 356.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#F877AB
RGBrgb(248, 119, 171)
HSLhsl(336, 90%, 72%)
HSVhsv(336, 52%, 97%)
CMYKcmyk(0%, 52%, 31%, 2.7%)
CIE-LABlab(66.59, 54.66, -4.01)
CIE-LCHlch(66.59, 54.81, 355.81°)
OKLaboklab(73.36% 0.166 -0.0098)
OKLCHoklch(73.36% 0.166 356.6)
XYZxyz(52.6612, 36.0953, 42.7138)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877AB #77F8C4
analogous
#F877EC #F877AB #F88477
triadic
#F877AB #ABF877 #77ABF8
tetradic
#F877AB #ECF877 #77F8C4 #8477F8
square
#F877AB #ECF877 #77F8C4 #8477F8
split-complementary
#F877AB #77F884 #77ECF8
monochromatic
#E90C65 #F53D87 #F877AB #FBB1CF #FEE2ED

Accessibility & contrast

On white

2.56
#F877AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#F877AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877AB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877AB#FFFFFF#000000##000000
##F877AB1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A93AD
Deuteranopia (green-blind)
#ACABA8
Tritanopia (blue-blind)
#FF6F8A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f877ab;
/* rgb */ color: rgb(248, 119, 171);
/* oklch */ color: oklch(73.4% 0.166 356.6);
Tailwind
colors: {
  custom: {
    50: '#fea2c4',
    500: '#f877ab',
    950: '#000000',
  },
}
SCSS
$custom: #f877ab;
$custom-light: #fea2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f877ab",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 171
  },
  "hsl": {
    "h": 335.814,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73364,
    "c": 0.16626,
    "h": 356.6
  },
  "luminance": 0.3609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F877AB

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

Preview Lab → · Contrast checker → · Palette generator →

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