#F877A2#F877A2

#F877A2 is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.1% C 0.163 H 0.9°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#F877A2
RGBrgb(248, 119, 162)
HSLhsl(340, 90%, 72%)
HSVhsv(340, 52%, 97%)
CMYKcmyk(0%, 52%, 34.7%, 2.7%)
CIE-LABlab(66.34, 53.59, 0.72)
CIE-LCHlch(66.34, 53.59, 0.77°)
OKLaboklab(73.09% 0.163 0.0026)
OKLCHoklch(73.09% 0.163 0.9)
XYZxyz(51.8324, 35.7638, 38.3488)
Luminance0.3576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F877A2 #77F8CD
analogous
#F877E3 #F877A2 #F88D77
triadic
#F877A2 #A2F877 #77A2F8
tetradic
#F877A2 #E3F877 #77F8CD #8D77F8
square
#F877A2 #E3F877 #77F8CD #8D77F8
split-complementary
#F877A2 #77F88D #77E3F8
monochromatic
#E90C56 #F53D7A #F877A2 #FBB1CA #FEE2EB

Accessibility & contrast

On white

2.58
#F877A2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#F877A2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F877A2
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F877A2#FFFFFF#000000##000000
##F877A21.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C92A3
Deuteranopia (green-blind)
#AEAA9F
Tritanopia (blue-blind)
#FF6C87
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f877a2;
/* rgb */ color: rgb(248, 119, 162);
/* oklch */ color: oklch(73.1% 0.163 0.9);
Tailwind
colors: {
  custom: {
    50: '#fea2bd',
    500: '#f877a2',
    950: '#000000',
  },
}
SCSS
$custom: #f877a2;
$custom-light: #fea2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f877a2",
  "rgb": {
    "r": 248,
    "g": 119,
    "b": 162
  },
  "hsl": {
    "h": 340,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73091,
    "c": 0.16301,
    "h": 0.9
  },
  "luminance": 0.35759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F877A2

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

Preview Lab → · Contrast checker → · Palette generator →

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