#F878AB#F878AB

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

Color values

HEX#F878AB
RGBrgb(248, 120, 171)
HSLhsl(336, 90%, 72%)
HSVhsv(336, 52%, 97%)
CMYKcmyk(0%, 51.6%, 31%, 2.7%)
CIE-LABlab(66.77, 54.19, -3.74)
CIE-LCHlch(66.77, 54.32, 356.05°)
OKLaboklab(73.5% 0.1645 -0.0091)
OKLCHoklch(73.5% 0.165 356.8)
XYZxyz(52.7809, 36.3346, 42.7537)
Luminance0.3633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878AB #78F8C5
analogous
#F878EB #F878AB #F88578
triadic
#F878AB #ABF878 #78ABF8
tetradic
#F878AB #EBF878 #78F8C5 #8578F8
square
#F878AB #EBF878 #78F8C5 #8578F8
split-complementary
#F878AB #78F885 #78EBF8
monochromatic
#E90C64 #F53E87 #F878AB #FBB2CF #FDE2ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F878AB#FFFFFF#000000##000000
##F878AB1.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)
#8B94AD
Deuteranopia (green-blind)
#ACABA8
Tritanopia (blue-blind)
#FF708B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f878ab;
/* rgb */ color: rgb(248, 120, 171);
/* oklch */ color: oklch(73.5% 0.165 356.8);
Tailwind
colors: {
  custom: {
    50: '#fea3c3',
    500: '#f878ab',
    950: '#000000',
  },
}
SCSS
$custom: #f878ab;
$custom-light: #fea3c3;
$custom-dark: #000000;
JSON
{
  "hex": "#f878ab",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 171
  },
  "hsl": {
    "h": 336.094,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73501,
    "c": 0.16476,
    "h": 356.8
  },
  "luminance": 0.3633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F878AB

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

Preview Lab → · Contrast checker → · Palette generator →

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