#F878B7#F878B7

#F878B7 is a light, vivid pink. Relative luminance 0.368; OKLCH L 73.9% C 0.170 H 351.3°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#F878B7
RGBrgb(248, 120, 183)
HSLhsl(330, 90%, 72%)
HSVhsv(330, 52%, 97%)
CMYKcmyk(0%, 51.6%, 26.2%, 2.7%)
CIE-LABlab(67.14, 55.71, -9.98)
CIE-LCHlch(67.14, 56.60, 349.84°)
OKLaboklab(73.89% 0.1682 -0.0258)
OKLCHoklch(73.89% 0.17 351.3)
XYZxyz(53.9770, 36.8131, 49.0534)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878B7 #78F8B9
analogous
#F878F7 #F878B7 #F87978
triadic
#F878B7 #B7F878 #78B7F8
tetradic
#F878B7 #F7F878 #78F8B9 #7978F8
square
#F878B7 #F7F878 #78F8B9 #7978F8
split-complementary
#F878B7 #78F879 #78F7F8
monochromatic
#E90C79 #F53E98 #F878B7 #FBB2D6 #FDE2EF

Accessibility & contrast

On white

2.51
#F878B7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#F878B7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878B7
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878B7#FFFFFF#000000##000000
##F878B71.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8795B9
Deuteranopia (green-blind)
#A9ACB4
Tritanopia (blue-blind)
#FF7390
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f878b7;
/* rgb */ color: rgb(248, 120, 183);
/* oklch */ color: oklch(73.9% 0.170 351.3);
Tailwind
colors: {
  custom: {
    50: '#fea3cc',
    500: '#f878b7',
    950: '#000000',
  },
}
SCSS
$custom: #f878b7;
$custom-light: #fea3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#f878b7",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 183
  },
  "hsl": {
    "h": 330.469,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73891,
    "c": 0.17021,
    "h": 351.3
  },
  "luminance": 0.36808
}

Semantic roles & 50–950 ramp

primary
#F878B7
secondary
#D5F6E6
accent
#E67500
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F878B7

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

Preview Lab → · Contrast checker → · Palette generator →

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