#FA87DC#FA87DC

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

Color values

HEX#FA87DC
RGBrgb(250, 135, 220)
HSLhsl(316, 92%, 75%)
HSVhsv(316, 46%, 98%)
CMYKcmyk(0%, 46%, 12%, 2%)
CIE-LABlab(71.43, 54.43, -24.09)
CIE-LCHlch(71.43, 59.52, 336.12°)
OKLaboklab(77.57% 0.1587 -0.0647)
OKLCHoklch(77.57% 0.171 337.8)
XYZxyz(61.0069, 42.8233, 72.7487)
Luminance0.4282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA87DC #87FAA5
analogous
#DE87FA #FA87DC #FA87A2
triadic
#FA87DC #DCFA87 #87DCFA
tetradic
#FA87DC #FADE87 #87FAA5 #87A2FA
square
#FA87DC #FADE87 #87FAA5 #87A2FA
split-complementary
#FA87DC #A2FA87 #87FADE
monochromatic
#F511BA #F84CCB #FA87DC #FCC2ED #FEE2F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FA87DC#FFFFFF#000000##000000
##FA87DC1.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)
#8AA4DF
Deuteranopia (green-blind)
#A9B5D9
Tritanopia (blue-blind)
#FF8BA8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #fa87dc;
/* rgb */ color: rgb(250, 135, 220);
/* oklch */ color: oklch(77.6% 0.171 337.8);
Tailwind
colors: {
  custom: {
    50: '#feade7',
    500: '#fa87dc',
    950: '#000000',
  },
}
SCSS
$custom: #fa87dc;
$custom-light: #feade7;
$custom-dark: #000000;
JSON
{
  "hex": "#fa87dc",
  "rgb": {
    "r": 250,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 315.652,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77572,
    "c": 0.17142,
    "h": 337.8
  },
  "luminance": 0.42819
}

Semantic roles & 50–950 ramp

primary
#FA87DC
secondary
#D5F6DE
accent
#E63C00
background
#FFFAFE
surface
#FFF5FC
border
#D7CFD5
text
#181016
muted
#867F84

Preview Lab

Preview with #FA87DC

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

Preview Lab → · Contrast checker → · Palette generator →

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