#B87EA1#B87EA1

#B87EA1 is a light, moderate pink. Relative luminance 0.277; OKLCH L 66.3% C 0.085 H 342.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#B87EA1
RGBrgb(184, 126, 161)
HSLhsl(324, 29%, 61%)
HSVhsv(324, 32%, 72%)
CMYKcmyk(0%, 31.5%, 12.5%, 27.8%)
CIE-LABlab(59.60, 27.87, -9.57)
CIE-LCHlch(59.60, 29.47, 341.06°)
OKLaboklab(66.27% 0.0815 -0.0253)
OKLCHoklch(66.27% 0.085 342.8)
XYZxyz(33.6610, 27.6869, 37.2823)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87EA1 #7EB895
analogous
#B27EB8 #B87EA1 #B87E84
triadic
#B87EA1 #A1B87E #7EA1B8
tetradic
#B87EA1 #B8B27E #7EB895 #7E84B8
square
#B87EA1 #B8B27E #7EB895 #7E84B8
split-complementary
#B87EA1 #84B87E #7EB8B2
monochromatic
#794363 #A05884 #B87EA1 #CEA5BE #E3CDDB

Accessibility & contrast

On white

3.21
#B87EA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#B87EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87EA1
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87EA1#FFFFFF#000000##000000
##B87EA11.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#818AA2
Deuteranopia (green-blind)
#8F939F
Tritanopia (blue-blind)
#BF7E8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b87ea1;
/* rgb */ color: rgb(184, 126, 161);
/* oklch */ color: oklch(66.3% 0.085 342.8);
Tailwind
colors: {
  custom: {
    50: '#cea4bc',
    500: '#b87ea1',
    950: '#000000',
  },
}
SCSS
$custom: #b87ea1;
$custom-light: #cea4bc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87ea1",
  "rgb": {
    "r": 184,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 323.793,
    "s": 29,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.08535,
    "h": 342.8
  },
  "luminance": 0.27685
}

Semantic roles & 50–950 ramp

primary
#B87EA1
secondary
#BED4C7
accent
#A8683E
background
#FCFAFB
surface
#F9F4F6
border
#D2CED0
text
#140F12
muted
#827F81

Preview Lab

Preview with #B87EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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