#F87BD5#F87BD5

#F87BD5 is a light, vivid pink. Relative luminance 0.389; OKLCH L 75.4% C 0.184 H 339.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#F87BD5
RGBrgb(248, 123, 213)
HSLhsl(317, 90%, 73%)
HSVhsv(317, 50%, 97%)
CMYKcmyk(0%, 50.4%, 14.1%, 2.7%)
CIE-LABlab(68.70, 58.53, -24.42)
CIE-LCHlch(68.70, 63.42, 337.35°)
OKLaboklab(75.4% 0.1719 -0.0655)
OKLCHoklch(75.4% 0.184 339.1)
XYZxyz(57.8053, 38.9307, 67.4077)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BD5 #7BF89E
analogous
#DC7BF8 #F87BD5 #F87B96
triadic
#F87BD5 #D5F87B #7BD5F8
tetradic
#F87BD5 #F8DC7B #7BF89E #7B96F8
square
#F87BD5 #F8DC7B #7BF89E #7B96F8
split-complementary
#F87BD5 #96F87B #7BF8DC
monochromatic
#EC0DAD #F541C3 #F87BD5 #FBB5E7 #FDE2F6

Accessibility & contrast

On white

2.39
#F87BD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#F87BD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BD5
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BD5#FFFFFF#000000##000000
##F87BD51.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#809BD8
Deuteranopia (green-blind)
#A2AFD2
Tritanopia (blue-blind)
#FF7E9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f87bd5;
/* rgb */ color: rgb(248, 123, 213);
/* oklch */ color: oklch(75.4% 0.184 339.1);
Tailwind
colors: {
  custom: {
    50: '#fda5e2',
    500: '#f87bd5',
    950: '#000000',
  },
}
SCSS
$custom: #f87bd5;
$custom-light: #fda5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bd5",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 316.8,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75395,
    "c": 0.184,
    "h": 339.1
  },
  "luminance": 0.38926
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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