#F877AC#F877AC

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

Color values

HEX#F877AC
RGBrgb(248, 119, 172)
HSLhsl(335, 90%, 72%)
HSVhsv(335, 52%, 97%)
CMYKcmyk(0%, 52%, 30.6%, 2.7%)
CIE-LABlab(66.62, 54.78, -4.53)
CIE-LCHlch(66.62, 54.97, 355.27°)
OKLaboklab(73.4% 0.1663 -0.0112)
OKLCHoklch(73.4% 0.167 356.1)
XYZxyz(52.7569, 36.1336, 43.2177)
Luminance0.3613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877AC #77F8C3
analogous
#F877EC #F877AC #F88377
triadic
#F877AC #ACF877 #77ACF8
tetradic
#F877AC #ECF877 #77F8C3 #8377F8
square
#F877AC #ECF877 #77F8C3 #8377F8
split-complementary
#F877AC #77F883 #77ECF8
monochromatic
#E90C67 #F53D88 #F877AC #FBB1D0 #FEE2ED

Accessibility & contrast

On white

2.55
#F877AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#F877AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877AC
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877AC#FFFFFF#000000##000000
##F877AC1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A93AE
Deuteranopia (green-blind)
#ABABA9
Tritanopia (blue-blind)
#FF6F8B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f877ac;
/* rgb */ color: rgb(248, 119, 172);
/* oklch */ color: oklch(73.4% 0.167 356.1);
Tailwind
colors: {
  custom: {
    50: '#fea2c4',
    500: '#f877ac',
    950: '#000000',
  },
}
SCSS
$custom: #f877ac;
$custom-light: #fea2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f877ac",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 172
  },
  "hsl": {
    "h": 335.349,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73396,
    "c": 0.16667,
    "h": 356.1
  },
  "luminance": 0.36129
}

Semantic roles & 50–950 ramp

primary
#F877AC
secondary
#D5F6E8
accent
#E68700
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F877AC

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

Preview Lab → · Contrast checker → · Palette generator →

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