#F87CD8#F87CD8

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

Color values

HEX#F87CD8
RGBrgb(248, 124, 216)
HSLhsl(315, 90%, 73%)
HSVhsv(315, 50%, 97%)
CMYKcmyk(0%, 50%, 12.9%, 2.7%)
CIE-LABlab(68.99, 58.52, -25.64)
CIE-LCHlch(68.99, 63.89, 336.34°)
OKLaboklab(75.65% 0.1712 -0.069)
OKLCHoklch(75.65% 0.185 338.1)
XYZxyz(58.3142, 39.3338, 69.4732)
Luminance0.3933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87CD8 #7CF89C
analogous
#DA7CF8 #F87CD8 #F87C9A
triadic
#F87CD8 #D8F87C #7CD8F8
tetradic
#F87CD8 #F8DA7C #7CF89C #7C9AF8
square
#F87CD8 #F8DA7C #7CF89C #7C9AF8
split-complementary
#F87CD8 #9AF87C #7CF8DA
monochromatic
#ED0DB3 #F542C7 #F87CD8 #FBB6E9 #FDE2F6

Accessibility & contrast

On white

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

On black

8.87
#F87CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87CD8
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87CD8#FFFFFF#000000##000000
##F87CD81.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f87cd8;
/* rgb */ color: rgb(248, 124, 216);
/* oklch */ color: oklch(75.6% 0.185 338.1);
Tailwind
colors: {
  custom: {
    50: '#fda6e4',
    500: '#f87cd8',
    950: '#000000',
  },
}
SCSS
$custom: #f87cd8;
$custom-light: #fda6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f87cd8",
  "rgb": {
    "r": 248,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 315.484,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75648,
    "c": 0.18459,
    "h": 338.1
  },
  "luminance": 0.3933
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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