#F87CD4#F87CD4

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

Color values

HEX#F87CD4
RGBrgb(248, 124, 212)
HSLhsl(317, 90%, 73%)
HSVhsv(317, 50%, 97%)
CMYKcmyk(0%, 50%, 14.5%, 2.7%)
CIE-LABlab(68.84, 57.91, -23.64)
CIE-LCHlch(68.84, 62.55, 337.79°)
OKLaboklab(75.49% 0.1703 -0.0634)
OKLCHoklch(75.49% 0.182 339.6)
XYZxyz(57.8034, 39.1295, 66.7829)
Luminance0.3912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CD4 #7CF8A0
analogous
#DE7CF8 #F87CD4 #F87C96
triadic
#F87CD4 #D4F87C #7CD4F8
tetradic
#F87CD4 #F8DE7C #7CF8A0 #7C96F8
square
#F87CD4 #F8DE7C #7CF8A0 #7C96F8
split-complementary
#F87CD4 #96F87C #7CF8DE
monochromatic
#ED0DAC #F542C1 #F87CD4 #FBB6E7 #FDE2F5

Accessibility & contrast

On white

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

On black

8.82
#F87CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CD4
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CD4#FFFFFF#000000##000000
##F87CD41.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#819CD7
Deuteranopia (green-blind)
#A3AFD1
Tritanopia (blue-blind)
#FF7F9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87cd4;
/* rgb */ color: rgb(248, 124, 212);
/* oklch */ color: oklch(75.5% 0.182 339.6);
Tailwind
colors: {
  custom: {
    50: '#fda6e1',
    500: '#f87cd4',
    950: '#000000',
  },
}
SCSS
$custom: #f87cd4;
$custom-light: #fda6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cd4",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 317.419,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7549,
    "c": 0.18171,
    "h": 339.6
  },
  "luminance": 0.39125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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