#F878A7#F878A7

#F878A7 is a light, vivid pink. Relative luminance 0.362; OKLCH L 73.4% C 0.163 H 358.7°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#F878A7
RGBrgb(248, 120, 167)
HSLhsl(338, 90%, 72%)
HSVhsv(338, 52%, 97%)
CMYKcmyk(0%, 51.6%, 32.7%, 2.7%)
CIE-LABlab(66.66, 53.70, -1.64)
CIE-LCHlch(66.66, 53.73, 358.25°)
OKLaboklab(73.38% 0.1632 -0.0036)
OKLCHoklch(73.38% 0.163 358.7)
XYZxyz(52.4054, 36.1844, 40.7761)
Luminance0.3618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878A7 #78F8C9
analogous
#F878E7 #F878A7 #F88978
triadic
#F878A7 #A7F878 #78A7F8
tetradic
#F878A7 #E7F878 #78F8C9 #8978F8
square
#F878A7 #E7F878 #78F8C9 #8978F8
split-complementary
#F878A7 #78F889 #78E7F8
monochromatic
#E90C5D #F53E81 #F878A7 #FBB2CD #FDE2EC

Accessibility & contrast

On white

2.55
#F878A7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#F878A7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878A7
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878A7#FFFFFF#000000##000000
##F878A71.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f878a7;
/* rgb */ color: rgb(248, 120, 167);
/* oklch */ color: oklch(73.4% 0.163 358.7);
Tailwind
colors: {
  custom: {
    50: '#fea3c1',
    500: '#f878a7',
    950: '#000000',
  },
}
SCSS
$custom: #f878a7;
$custom-light: #fea3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f878a7",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 167
  },
  "hsl": {
    "h": 337.969,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73378,
    "c": 0.16324,
    "h": 358.7
  },
  "luminance": 0.36179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F878A7

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

Preview Lab → · Contrast checker → · Palette generator →

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