#F987DB#F987DB

#F987DB is a light, vivid pink. Relative luminance 0.426; OKLCH L 77.4% C 0.170 H 337.9°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#F987DB
RGBrgb(249, 135, 219)
HSLhsl(316, 90%, 75%)
HSVhsv(316, 46%, 98%)
CMYKcmyk(0%, 45.8%, 12%, 2.4%)
CIE-LABlab(71.27, 53.97, -23.80)
CIE-LCHlch(71.27, 58.99, 336.20°)
OKLaboklab(77.41% 0.1574 -0.0639)
OKLCHoklch(77.41% 0.17 337.9)
XYZxyz(60.5174, 42.5861, 72.0366)
Luminance0.4258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987DB #87F9A5
analogous
#DE87F9 #F987DB #F987A2
triadic
#F987DB #DBF987 #87DBF9
tetradic
#F987DB #F9DE87 #87F9A5 #87A2F9
square
#F987DB #F9DE87 #87F9A5 #87A2F9
split-complementary
#F987DB #A2F987 #87F9DE
monochromatic
#F312B8 #F64DCA #F987DB #FCC1EC #FEE2F6

Accessibility & contrast

On white

2.21
#F987DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#F987DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F987DB
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F987DB#FFFFFF#000000##000000
##F987DB1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA4DE
Deuteranopia (green-blind)
#A9B5D8
Tritanopia (blue-blind)
#FF8AA7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #f987db;
/* rgb */ color: rgb(249, 135, 219);
/* oklch */ color: oklch(77.4% 0.170 337.9);
Tailwind
colors: {
  custom: {
    50: '#fdade6',
    500: '#f987db',
    950: '#000000',
  },
}
SCSS
$custom: #f987db;
$custom-light: #fdade6;
$custom-dark: #000000;
JSON
{
  "hex": "#f987db",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 315.789,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77413,
    "c": 0.1699,
    "h": 337.9
  },
  "luminance": 0.42582
}

Semantic roles & 50–950 ramp

primary
#F987DB
secondary
#D5F6DE
accent
#E63C00
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F987DB

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

Preview Lab → · Contrast checker → · Palette generator →

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