#F87CD7#F87CD7

#F87CD7 is a light, vivid pink. Relative luminance 0.393; OKLCH L 75.6% C 0.184 H 338.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#F87CD7
RGBrgb(248, 124, 215)
HSLhsl(316, 90%, 73%)
HSVhsv(316, 50%, 97%)
CMYKcmyk(0%, 50%, 13.3%, 2.7%)
CIE-LABlab(68.96, 58.36, -25.14)
CIE-LCHlch(68.96, 63.55, 336.69°)
OKLaboklab(75.61% 0.171 -0.0676)
OKLCHoklch(75.61% 0.184 338.4)
XYZxyz(58.1854, 39.2822, 68.7944)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CD7 #7CF89D
analogous
#DB7CF8 #F87CD7 #F87C99
triadic
#F87CD7 #D7F87C #7CD7F8
tetradic
#F87CD7 #F8DB7C #7CF89D #7C99F8
square
#F87CD7 #F8DB7C #7CF89D #7C99F8
split-complementary
#F87CD7 #99F87C #7CF8DB
monochromatic
#ED0DB1 #F542C5 #F87CD7 #FBB6E9 #FDE2F6

Accessibility & contrast

On white

2.37
#F87CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#F87CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CD7
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CD7#FFFFFF#000000##000000
##F87CD71.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#809CDA
Deuteranopia (green-blind)
#A2AFD4
Tritanopia (blue-blind)
#FF80A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87cd7;
/* rgb */ color: rgb(248, 124, 215);
/* oklch */ color: oklch(75.6% 0.184 338.4);
Tailwind
colors: {
  custom: {
    50: '#fda6e3',
    500: '#f87cd7',
    950: '#000000',
  },
}
SCSS
$custom: #f87cd7;
$custom-light: #fda6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cd7",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 315.968,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75608,
    "c": 0.18386,
    "h": 338.4
  },
  "luminance": 0.39278
}

Semantic roles & 50–950 ramp

primary
#F87CD7
secondary
#D5F6DE
accent
#E63D00
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F87CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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