#F877A7#F877A7

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

Color values

HEX#F877A7
RGBrgb(248, 119, 167)
HSLhsl(338, 90%, 72%)
HSVhsv(338, 52%, 97%)
CMYKcmyk(0%, 52%, 32.7%, 2.7%)
CIE-LABlab(66.48, 54.18, -1.91)
CIE-LCHlch(66.48, 54.21, 357.98°)
OKLaboklab(73.24% 0.1647 -0.0043)
OKLCHoklch(73.24% 0.165 358.5)
XYZxyz(52.2857, 35.9451, 40.7362)
Luminance0.3594 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877A7 #77F8C8
analogous
#F877E8 #F877A7 #F88777
triadic
#F877A7 #A7F877 #77A7F8
tetradic
#F877A7 #E8F877 #77F8C8 #8777F8
square
#F877A7 #E8F877 #77F8C8 #8777F8
split-complementary
#F877A7 #77F887 #77E8F8
monochromatic
#E90C5E #F53D81 #F877A7 #FBB1CD #FEE2EC

Accessibility & contrast

On white

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

On black

8.19
#F877A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877A7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877A7#FFFFFF#000000##000000
##F877A71.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B93A8
Deuteranopia (green-blind)
#ADABA4
Tritanopia (blue-blind)
#FF6E89
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f877a7;
/* rgb */ color: rgb(248, 119, 167);
/* oklch */ color: oklch(73.2% 0.165 358.5);
Tailwind
colors: {
  custom: {
    50: '#fea2c1',
    500: '#f877a7',
    950: '#000000',
  },
}
SCSS
$custom: #f877a7;
$custom-light: #fea2c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f877a7",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 167
  },
  "hsl": {
    "h": 337.674,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73241,
    "c": 0.16473,
    "h": 358.5
  },
  "luminance": 0.3594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F877A7

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

Preview Lab → · Contrast checker → · Palette generator →

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