#F877A6#F877A6

#F877A6 is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.2% C 0.164 H 359.0°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F877A6
RGBrgb(248, 119, 166)
HSLhsl(338, 90%, 72%)
HSVhsv(338, 52%, 97%)
CMYKcmyk(0%, 52%, 33.1%, 2.7%)
CIE-LABlab(66.45, 54.06, -1.38)
CIE-LCHlch(66.45, 54.08, 358.53°)
OKLaboklab(73.21% 0.1643 -0.0029)
OKLCHoklch(73.21% 0.164 359)
XYZxyz(52.1936, 35.9083, 40.2512)
Luminance0.3590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877A6 #77F8C9
analogous
#F877E6 #F877A6 #F88977
triadic
#F877A6 #A6F877 #77A6F8
tetradic
#F877A6 #E6F877 #77F8C9 #8977F8
square
#F877A6 #E6F877 #77F8C9 #8977F8
split-complementary
#F877A6 #77F889 #77E6F8
monochromatic
#E90C5C #F53D80 #F877A6 #FBB1CC #FEE2EC

Accessibility & contrast

On white

2.57
#F877A6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F877A6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877A6
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877A6#FFFFFF#000000##000000
##F877A61.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B93A7
Deuteranopia (green-blind)
#ADABA3
Tritanopia (blue-blind)
#FF6D88
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f877a6;
/* rgb */ color: rgb(248, 119, 166);
/* oklch */ color: oklch(73.2% 0.164 359.0);
Tailwind
colors: {
  custom: {
    50: '#fea2c0',
    500: '#f877a6',
    950: '#000000',
  },
}
SCSS
$custom: #f877a6;
$custom-light: #fea2c0;
$custom-dark: #000000;
JSON
{
  "hex": "#f877a6",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 166
  },
  "hsl": {
    "h": 338.14,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7321,
    "c": 0.16437,
    "h": 359
  },
  "luminance": 0.35903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F877A6

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

Preview Lab → · Contrast checker → · Palette generator →

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