#F87CA5#F87CA5

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

Color values

HEX#F87CA5
RGBrgb(248, 124, 165)
HSLhsl(340, 90%, 73%)
HSVhsv(340, 50%, 97%)
CMYKcmyk(0%, 50%, 33.5%, 2.7%)
CIE-LABlab(67.35, 51.55, 0.49)
CIE-LCHlch(67.35, 51.55, 0.55°)
OKLaboklab(73.88% 0.1566 0.002)
OKLCHoklch(73.88% 0.157 0.7)
XYZxyz(52.7130, 37.0933, 39.9736)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CA5 #7CF8CF
analogous
#F87CE3 #F87CA5 #F8917C
triadic
#F87CA5 #A5F87C #7CA5F8
tetradic
#F87CA5 #E3F87C #7CF8CF #917CF8
square
#F87CA5 #E3F87C #7CF8CF #917CF8
split-complementary
#F87CA5 #7CF891 #7CE3F8
monochromatic
#ED0D57 #F5427D #F87CA5 #FBB6CD #FDE2EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F87CA5#FFFFFF#000000##000000
##F87CA51.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)
#9096A6
Deuteranopia (green-blind)
#B0ADA2
Tritanopia (blue-blind)
#FF728B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f87ca5;
/* rgb */ color: rgb(248, 124, 165);
/* oklch */ color: oklch(73.9% 0.157 0.7);
Tailwind
colors: {
  custom: {
    50: '#fea5bf',
    500: '#f87ca5',
    950: '#000000',
  },
}
SCSS
$custom: #f87ca5;
$custom-light: #fea5bf;
$custom-dark: #000000;
JSON
{
  "hex": "#f87ca5",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 165
  },
  "hsl": {
    "h": 340.161,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73876,
    "c": 0.15663,
    "h": 0.7
  },
  "luminance": 0.37088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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