#F878CB#F878CB

#F878CB is a light, vivid pink. Relative luminance 0.377; OKLCH L 74.6% C 0.182 H 342.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#F878CB
RGBrgb(248, 120, 203)
HSLhsl(321, 90%, 72%)
HSVhsv(321, 52%, 97%)
CMYKcmyk(0%, 51.6%, 18.1%, 2.7%)
CIE-LABlab(67.80, 58.47, -20.21)
CIE-LCHlch(67.80, 61.86, 340.93°)
OKLaboklab(74.61% 0.1737 -0.0538)
OKLCHoklch(74.61% 0.182 342.8)
XYZxyz(56.2085, 37.7056, 60.8058)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F878CB #78F8A5
analogous
#E578F8 #F878CB #F8788B
triadic
#F878CB #CBF878 #78CBF8
tetradic
#F878CB #F8E578 #78F8A5 #788BF8
square
#F878CB #F8E578 #78F8A5 #788BF8
split-complementary
#F878CB #8BF878 #78F8E5
monochromatic
#E90C9C #F53EB5 #F878CB #FBB2E1 #FDE2F4

Accessibility & contrast

On white

2.46
#F878CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#F878CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F878CB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F878CB#FFFFFF#000000##000000
##F878CB1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CE
Deuteranopia (green-blind)
#A4ADC8
Tritanopia (blue-blind)
#FF7898
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f878cb;
/* rgb */ color: rgb(248, 120, 203);
/* oklch */ color: oklch(74.6% 0.182 342.8);
Tailwind
colors: {
  custom: {
    50: '#fda3db',
    500: '#f878cb',
    950: '#000000',
  },
}
SCSS
$custom: #f878cb;
$custom-light: #fda3db;
$custom-dark: #000000;
JSON
{
  "hex": "#f878cb",
  "rgb": {
    "r": 248,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 321.094,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74608,
    "c": 0.18187,
    "h": 342.8
  },
  "luminance": 0.37701
}

Semantic roles & 50–950 ramp

primary
#F878CB
secondary
#D5F6E1
accent
#E65100
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#180F15
muted
#867F83

Preview Lab

Preview with #F878CB

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

Preview Lab → · Contrast checker → · Palette generator →

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