#F87CD5#F87CD5

#F87CD5 is a light, vivid pink. Relative luminance 0.392; OKLCH L 75.5% C 0.182 H 339.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#F87CD5
RGBrgb(248, 124, 213)
HSLhsl(317, 90%, 73%)
HSVhsv(317, 50%, 97%)
CMYKcmyk(0%, 50%, 14.1%, 2.7%)
CIE-LABlab(68.88, 58.06, -24.14)
CIE-LCHlch(68.88, 62.88, 337.42°)
OKLaboklab(75.53% 0.1705 -0.0648)
OKLCHoklch(75.53% 0.182 339.2)
XYZxyz(57.9299, 39.1801, 67.4493)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CD5 #7CF89F
analogous
#DD7CF8 #F87CD5 #F87C97
triadic
#F87CD5 #D5F87C #7CD5F8
tetradic
#F87CD5 #F8DD7C #7CF89F #7C97F8
square
#F87CD5 #F8DD7C #7CF89F #7C97F8
split-complementary
#F87CD5 #97F87C #7CF8DD
monochromatic
#ED0DAE #F542C2 #F87CD5 #FBB6E8 #FDE2F6

Accessibility & contrast

On white

2.38
#F87CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#F87CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CD5
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CD5#FFFFFF#000000##000000
##F87CD51.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#819CD8
Deuteranopia (green-blind)
#A3AFD2
Tritanopia (blue-blind)
#FF7F9F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87cd5;
/* rgb */ color: rgb(248, 124, 213);
/* oklch */ color: oklch(75.5% 0.182 339.2);
Tailwind
colors: {
  custom: {
    50: '#fda6e2',
    500: '#f87cd5',
    950: '#000000',
  },
}
SCSS
$custom: #f87cd5;
$custom-light: #fda6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cd5",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 316.935,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75529,
    "c": 0.18242,
    "h": 339.2
  },
  "luminance": 0.39176
}

Semantic roles & 50–950 ramp

primary
#F87CD5
secondary
#D5F6DF
accent
#E64100
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F87CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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