#F87BD4#F87BD4

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

Color values

HEX#F87BD4
RGBrgb(248, 123, 212)
HSLhsl(317, 90%, 73%)
HSVhsv(317, 50%, 97%)
CMYKcmyk(0%, 50.4%, 14.5%, 2.7%)
CIE-LABlab(68.66, 58.38, -23.92)
CIE-LCHlch(68.66, 63.09, 337.72°)
OKLaboklab(75.36% 0.1717 -0.0641)
OKLCHoklch(75.36% 0.183 339.5)
XYZxyz(57.6787, 38.8801, 66.7413)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87BD4 #7BF89F
analogous
#DD7BF8 #F87BD4 #F87B95
triadic
#F87BD4 #D4F87B #7BD4F8
tetradic
#F87BD4 #F8DD7B #7BF89F #7B95F8
square
#F87BD4 #F8DD7B #7BF89F #7B95F8
split-complementary
#F87BD4 #95F87B #7BF8DD
monochromatic
#EC0DAC #F541C1 #F87BD4 #FBB5E7 #FDE2F6

Accessibility & contrast

On white

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

On black

8.78
#F87BD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87BD4
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87BD4#FFFFFF#000000##000000
##F87BD41.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#809BD7
Deuteranopia (green-blind)
#A3AFD1
Tritanopia (blue-blind)
#FF7E9E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f87bd4;
/* rgb */ color: rgb(248, 123, 212);
/* oklch */ color: oklch(75.4% 0.183 339.5);
Tailwind
colors: {
  custom: {
    50: '#fda5e1',
    500: '#f87bd4',
    950: '#000000',
  },
}
SCSS
$custom: #f87bd4;
$custom-light: #fda5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f87bd4",
  "rgb": {
    "r": 248,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 317.28,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.75355,
    "c": 0.18329,
    "h": 339.5
  },
  "luminance": 0.38876
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F87BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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