#F877DF#F877DF

#F877DF is a light, vivid pink. Relative luminance 0.385; OKLCH L 75.3% C 0.198 H 335.3°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#F877DF
RGBrgb(248, 119, 223)
HSLhsl(312, 90%, 72%)
HSVhsv(312, 52%, 97%)
CMYKcmyk(0%, 52%, 10.1%, 2.7%)
CIE-LABlab(68.37, 61.94, -30.48)
CIE-LCHlch(68.37, 69.03, 333.80°)
OKLaboklab(75.28% 0.1795 -0.0825)
OKLCHoklch(75.28% 0.198 335.3)
XYZxyz(58.6277, 38.4819, 74.1376)
Luminance0.3848 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877DF #77F890
analogous
#D177F8 #F877DF #F8779F
triadic
#F877DF #DFF877 #77DFF8
tetradic
#F877DF #F8D177 #77F890 #779FF8
square
#F877DF #F8D177 #77F890 #779FF8
split-complementary
#F877DF #9FF877 #77F8D1
monochromatic
#E90CBE #F53DD1 #F877DF #FBB1ED #FEE2F8

Accessibility & contrast

On white

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

On black

8.70
#F877DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877DF
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877DF#FFFFFF#000000##000000
##F877DF1.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#779BE2
Deuteranopia (green-blind)
#9DAEDB
Tritanopia (blue-blind)
#FF7EA1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f877df;
/* rgb */ color: rgb(248, 119, 223);
/* oklch */ color: oklch(75.3% 0.198 335.3);
Tailwind
colors: {
  custom: {
    50: '#fda3e9',
    500: '#f877df',
    950: '#000000',
  },
}
SCSS
$custom: #f877df;
$custom-light: #fda3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#f877df",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 223
  },
  "hsl": {
    "h": 311.628,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.75277,
    "c": 0.19761,
    "h": 335.3
  },
  "luminance": 0.38478
}

Semantic roles & 50–950 ramp

primary
#F877DF
secondary
#D5F6DC
accent
#E62C00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84

Preview Lab

Preview with #F877DF

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

Preview Lab → · Contrast checker → · Palette generator →

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