#F877D7#F877D7

#F877D7 is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.9% C 0.192 H 338.1°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#F877D7
RGBrgb(248, 119, 215)
HSLhsl(315, 90%, 72%)
HSVhsv(315, 52%, 97%)
CMYKcmyk(0%, 52%, 13.3%, 2.7%)
CIE-LABlab(68.07, 60.71, -26.51)
CIE-LCHlch(68.07, 66.24, 336.41°)
OKLaboklab(74.95% 0.1779 -0.0714)
OKLCHoklch(74.95% 0.192 338.1)
XYZxyz(57.5746, 38.0607, 68.5908)
Luminance0.3806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877D7 #77F898
analogous
#D977F8 #F877D7 #F87797
triadic
#F877D7 #D7F877 #77D7F8
tetradic
#F877D7 #F8D977 #77F898 #7797F8
square
#F877D7 #F8D977 #77F898 #7797F8
split-complementary
#F877D7 #97F877 #77F8D9
monochromatic
#E90CB0 #F53DC6 #F877D7 #FBB1E8 #FEE2F6

Accessibility & contrast

On white

2.44
#F877D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#F877D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877D7
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877D7#FFFFFF#000000##000000
##F877D71.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B99DA
Deuteranopia (green-blind)
#9FADD4
Tritanopia (blue-blind)
#FF7B9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f877d7;
/* rgb */ color: rgb(248, 119, 215);
/* oklch */ color: oklch(74.9% 0.192 338.1);
Tailwind
colors: {
  custom: {
    50: '#fda3e3',
    500: '#f877d7',
    950: '#000000',
  },
}
SCSS
$custom: #f877d7;
$custom-light: #fda3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f877d7",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 215
  },
  "hsl": {
    "h": 315.349,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74947,
    "c": 0.19169,
    "h": 338.1
  },
  "luminance": 0.38056
}

Semantic roles & 50–950 ramp

primary
#F877D7
secondary
#D5F6DE
accent
#E63B00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F877D7

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

Preview Lab → · Contrast checker → · Palette generator →

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