#F878A2#F878A2

#F878A2 is a light, vivid pink. Relative luminance 0.360; OKLCH L 73.2% C 0.162 H 1.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#F878A2
RGBrgb(248, 120, 162)
HSLhsl(340, 90%, 72%)
HSVhsv(340, 52%, 97%)
CMYKcmyk(0%, 51.6%, 34.7%, 2.7%)
CIE-LABlab(66.52, 53.11, 0.99)
CIE-LCHlch(66.52, 53.12, 1.07°)
OKLaboklab(73.23% 0.1615 0.0033)
OKLCHoklch(73.23% 0.162 1.2)
XYZxyz(51.9520, 36.0031, 38.3887)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878A2 #78F8CE
analogous
#F878E2 #F878A2 #F88E78
triadic
#F878A2 #A2F878 #78A2F8
tetradic
#F878A2 #E2F878 #78F8CE #8E78F8
square
#F878A2 #E2F878 #78F8CE #8E78F8
split-complementary
#F878A2 #78F88E #78E2F8
monochromatic
#E90C55 #F53E7A #F878A2 #FBB2CA #FDE2EB

Accessibility & contrast

On white

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

On black

8.20
#F878A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878A2
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878A2#FFFFFF#000000##000000
##F878A21.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D93A3
Deuteranopia (green-blind)
#AEAB9F
Tritanopia (blue-blind)
#FF6E87
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f878a2;
/* rgb */ color: rgb(248, 120, 162);
/* oklch */ color: oklch(73.2% 0.162 1.2);
Tailwind
colors: {
  custom: {
    50: '#fea3bd',
    500: '#f878a2',
    950: '#000000',
  },
}
SCSS
$custom: #f878a2;
$custom-light: #fea3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f878a2",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 162
  },
  "hsl": {
    "h": 340.313,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73228,
    "c": 0.16155,
    "h": 1.2
  },
  "luminance": 0.35998
}

Semantic roles & 50–950 ramp

primary
#F878A2
secondary
#D5F6EB
accent
#E69A00
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F878A2

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

Preview Lab → · Contrast checker → · Palette generator →

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