#F878AC#F878AC

#F878AC is a light, vivid pink. Relative luminance 0.364; OKLCH L 73.5% C 0.165 H 356.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F878AC
RGBrgb(248, 120, 172)
HSLhsl(336, 90%, 72%)
HSVhsv(336, 52%, 97%)
CMYKcmyk(0%, 51.6%, 30.6%, 2.7%)
CIE-LABlab(66.80, 54.31, -4.26)
CIE-LCHlch(66.80, 54.48, 355.51°)
OKLaboklab(73.53% 0.1648 -0.0105)
OKLCHoklch(73.53% 0.165 356.4)
XYZxyz(52.8765, 36.3729, 43.2576)
Luminance0.3637 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878AC #78F8C4
analogous
#F878EC #F878AC #F88478
triadic
#F878AC #ACF878 #78ACF8
tetradic
#F878AC #ECF878 #78F8C4 #8478F8
square
#F878AC #ECF878 #78F8C4 #8478F8
split-complementary
#F878AC #78F884 #78ECF8
monochromatic
#E90C66 #F53E88 #F878AC #FBB2D0 #FDE2ED

Accessibility & contrast

On white

2.54
#F878AC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#F878AC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878AC
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878AC#FFFFFF#000000##000000
##F878AC1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A94AE
Deuteranopia (green-blind)
#ACABA9
Tritanopia (blue-blind)
#FF708B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f878ac;
/* rgb */ color: rgb(248, 120, 172);
/* oklch */ color: oklch(73.5% 0.165 356.4);
Tailwind
colors: {
  custom: {
    50: '#fea3c4',
    500: '#f878ac',
    950: '#000000',
  },
}
SCSS
$custom: #f878ac;
$custom-light: #fea3c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f878ac",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 172
  },
  "hsl": {
    "h": 335.625,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73532,
    "c": 0.16517,
    "h": 356.4
  },
  "luminance": 0.36368
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F878AC

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

Preview Lab → · Contrast checker → · Palette generator →

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