#F878DA#F878DA

#F878DA is a light, vivid pink. Relative luminance 0.385; OKLCH L 75.2% C 0.192 H 337.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#F878DA
RGBrgb(248, 120, 218)
HSLhsl(314, 90%, 72%)
HSVhsv(314, 52%, 97%)
CMYKcmyk(0%, 51.6%, 12.1%, 2.7%)
CIE-LABlab(68.36, 60.70, -27.73)
CIE-LCHlch(68.36, 66.74, 335.45°)
OKLaboklab(75.2% 0.1772 -0.0748)
OKLCHoklch(75.2% 0.192 337.1)
XYZxyz(58.0832, 38.4555, 70.6795)
Luminance0.3845 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878DA #78F896
analogous
#D678F8 #F878DA #F8789A
triadic
#F878DA #DAF878 #78DAF8
tetradic
#F878DA #F8D678 #78F896 #789AF8
square
#F878DA #F8D678 #78F896 #789AF8
split-complementary
#F878DA #9AF878 #78F8D6
monochromatic
#E90CB6 #F53ECA #F878DA #FBB2EA #FDE2F7

Accessibility & contrast

On white

2.42
#F878DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#F878DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878DA
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878DA#FFFFFF#000000##000000
##F878DA1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9ADD
Deuteranopia (green-blind)
#9FAED7
Tritanopia (blue-blind)
#FF7D9F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f878da;
/* rgb */ color: rgb(248, 120, 218);
/* oklch */ color: oklch(75.2% 0.192 337.1);
Tailwind
colors: {
  custom: {
    50: '#fda4e5',
    500: '#f878da',
    950: '#000000',
  },
}
SCSS
$custom: #f878da;
$custom-light: #fda4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#f878da",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 314.063,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75199,
    "c": 0.19232,
    "h": 337.1
  },
  "luminance": 0.38451
}

Semantic roles & 50–950 ramp

primary
#F878DA
secondary
#D5F6DD
accent
#E63600
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F878DA

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

Preview Lab → · Contrast checker → · Palette generator →

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