#F87DB2#F87DB2

#F87DB2 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.4% C 0.160 H 354.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#F87DB2
RGBrgb(248, 125, 178)
HSLhsl(334, 90%, 73%)
HSVhsv(334, 50%, 97%)
CMYKcmyk(0%, 49.6%, 28.2%, 2.7%)
CIE-LABlab(67.90, 52.67, -6.02)
CIE-LCHlch(67.90, 53.01, 353.48°)
OKLaboklab(74.42% 0.1594 -0.0152)
OKLCHoklch(74.42% 0.16 354.5)
XYZxyz(54.0829, 37.8428, 46.5669)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F87DB2 #7DF8C3
analogous
#F87DF0 #F87DB2 #F8857D
triadic
#F87DB2 #B2F87D #7DB2F8
tetradic
#F87DB2 #F0F87D #7DF8C3 #857DF8
square
#F87DB2 #F0F87D #7DF8C3 #857DF8
split-complementary
#F87DB2 #7DF885 #7DF0F8
monochromatic
#EE0D6E #F54390 #F87DB2 #FBB7D4 #FDE2EE

Accessibility & contrast

On white

2.45
#F87DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#F87DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F87DB2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F87DB2#FFFFFF#000000##000000
##F87DB21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D98B4
Deuteranopia (green-blind)
#ADAEAF
Tritanopia (blue-blind)
#FF7791
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f87db2;
/* rgb */ color: rgb(248, 125, 178);
/* oklch */ color: oklch(74.4% 0.160 354.5);
Tailwind
colors: {
  custom: {
    50: '#fda6c9',
    500: '#f87db2',
    950: '#000000',
  },
}
SCSS
$custom: #f87db2;
$custom-light: #fda6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f87db2",
  "rgb": {
    "r": 248,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 334.146,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74417,
    "c": 0.16013,
    "h": 354.5
  },
  "luminance": 0.37838
}

Semantic roles & 50–950 ramp

primary
#F87DB2
secondary
#D5F6E8
accent
#E68300
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #F87DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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