#F987DF#F987DF

#F987DF is a light, vivid pink. Relative luminance 0.428; OKLCH L 77.6% C 0.173 H 336.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#F987DF
RGBrgb(249, 135, 223)
HSLhsl(314, 90%, 75%)
HSVhsv(314, 46%, 98%)
CMYKcmyk(0%, 45.8%, 10.4%, 2.4%)
CIE-LABlab(71.42, 54.60, -25.78)
CIE-LCHlch(71.42, 60.38, 334.72°)
OKLaboklab(77.57% 0.1584 -0.0695)
OKLCHoklch(77.57% 0.173 336.3)
XYZxyz(61.0503, 42.7993, 74.8432)
Luminance0.4279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F987DF #87F9A1
analogous
#DA87F9 #F987DF #F987A6
triadic
#F987DF #DFF987 #87DFF9
tetradic
#F987DF #F9DA87 #87F9A1 #87A6F9
square
#F987DF #F9DA87 #87F9A1 #87A6F9
split-complementary
#F987DF #A6F987 #87F9DA
monochromatic
#F312C0 #F64DCF #F987DF #FCC1EF #FEE2F7

Accessibility & contrast

On white

2.20
#F987DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#F987DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F987DF
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F987DF#FFFFFF#000000##000000
##F987DF1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A4E2
Deuteranopia (green-blind)
#A7B5DC
Tritanopia (blue-blind)
#FF8BA9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #f987df;
/* rgb */ color: rgb(249, 135, 223);
/* oklch */ color: oklch(77.6% 0.173 336.3);
Tailwind
colors: {
  custom: {
    50: '#fdade9',
    500: '#f987df',
    950: '#000000',
  },
}
SCSS
$custom: #f987df;
$custom-light: #fdade9;
$custom-dark: #000000;
JSON
{
  "hex": "#f987df",
  "rgb": {
    "r": 249,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 313.684,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.77569,
    "c": 0.17294,
    "h": 336.3
  },
  "luminance": 0.42795
}

Semantic roles & 50–950 ramp

primary
#F987DF
secondary
#D5F6DD
accent
#E63400
background
#FFFAFE
surface
#FFF5FC
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #F987DF

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

Preview Lab → · Contrast checker → · Palette generator →

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