#F87CA6#F87CA6

#F87CA6 is a light, vivid pink. Relative luminance 0.371; OKLCH L 73.9% C 0.157 H 0.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#F87CA6
RGBrgb(248, 124, 166)
HSLhsl(340, 90%, 73%)
HSVhsv(340, 50%, 97%)
CMYKcmyk(0%, 50%, 33.1%, 2.7%)
CIE-LABlab(67.37, 51.66, -0.03)
CIE-LCHlch(67.37, 51.66, 359.96°)
OKLaboklab(73.91% 0.157 0.0006)
OKLCHoklch(73.91% 0.157 0.2)
XYZxyz(52.8044, 37.1299, 40.4548)
Luminance0.3713 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CA6 #7CF8CE
analogous
#F87CE4 #F87CA6 #F8907C
triadic
#F87CA6 #A6F87C #7CA6F8
tetradic
#F87CA6 #E4F87C #7CF8CE #907CF8
square
#F87CA6 #E4F87C #7CF8CE #907CF8
split-complementary
#F87CA6 #7CF890 #7CE4F8
monochromatic
#ED0D59 #F5427F #F87CA6 #FBB6CD #FDE2EB

Accessibility & contrast

On white

2.49
#F87CA6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#F87CA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CA6
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CA6#FFFFFF#000000##000000
##F87CA61.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9096A7
Deuteranopia (green-blind)
#AFADA3
Tritanopia (blue-blind)
#FF738B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87ca6;
/* rgb */ color: rgb(248, 124, 166);
/* oklch */ color: oklch(73.9% 0.157 0.2);
Tailwind
colors: {
  custom: {
    50: '#fea5c0',
    500: '#f87ca6',
    950: '#000000',
  },
}
SCSS
$custom: #f87ca6;
$custom-light: #fea5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ca6",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 166
  },
  "hsl": {
    "h": 339.677,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73905,
    "c": 0.15696,
    "h": 0.2
  },
  "luminance": 0.37125
}

Semantic roles & 50–950 ramp

primary
#F87CA6
secondary
#D5F6EB
accent
#E69800
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F87CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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