#FA87B2#FA87B2

#FA87B2 is a light, vivid pink. Relative luminance 0.409; OKLCH L 76.1% C 0.147 H 357.4°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#FA87B2
RGBrgb(250, 135, 178)
HSLhsl(338, 92%, 75%)
HSVhsv(338, 46%, 98%)
CMYKcmyk(0%, 46%, 28.8%, 2%)
CIE-LABlab(70.09, 48.42, -2.77)
CIE-LCHlch(70.09, 48.50, 356.72°)
OKLaboklab(76.11% 0.1466 -0.0067)
OKLCHoklch(76.11% 0.147 357.4)
XYZxyz(56.1262, 40.8710, 47.0437)
Luminance0.4087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FA87B2 #87FACF
analogous
#FA87EC #FA87B2 #FA9587
triadic
#FA87B2 #B2FA87 #87B2FA
tetradic
#FA87B2 #ECFA87 #87FACF #9587FA
square
#FA87B2 #ECFA87 #87FACF #9587FA
split-complementary
#FA87B2 #87FA95 #87ECFA
monochromatic
#F51167 #F84C8C #FA87B2 #FCC2D8 #FEE2EC

Accessibility & contrast

On white

2.29
#FA87B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#FA87B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FA87B2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FA87B2#FFFFFF#000000##000000
##FA87B21.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#979EB3
Deuteranopia (green-blind)
#B4B3AF
Tritanopia (blue-blind)
#FF8097
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #fa87b2;
/* rgb */ color: rgb(250, 135, 178);
/* oklch */ color: oklch(76.1% 0.147 357.4);
Tailwind
colors: {
  custom: {
    50: '#ffacc9',
    500: '#fa87b2',
    950: '#000000',
  },
}
SCSS
$custom: #fa87b2;
$custom-light: #ffacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#fa87b2",
  "rgb": {
    "r": 250,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 337.565,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76113,
    "c": 0.14672,
    "h": 357.4
  },
  "luminance": 0.40866
}

Semantic roles & 50–950 ramp

primary
#FA87B2
secondary
#D5F6EA
accent
#E69000
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181013
muted
#867F82

Preview Lab

Preview with #FA87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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