#BA7987#BA7987

#BA7987 is a light, moderate red. Relative luminance 0.259; OKLCH L 64.8% C 0.083 H 5.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#BA7987
RGBrgb(186, 121, 135)
HSLhsl(347, 32%, 60%)
HSVhsv(347, 35%, 73%)
CMYKcmyk(0%, 34.9%, 27.4%, 27.1%)
CIE-LABlab(57.91, 27.30, 2.95)
CIE-LCHlch(57.91, 27.46, 6.17°)
OKLaboklab(64.77% 0.0826 0.0081)
OKLCHoklch(64.77% 0.083 5.6)
XYZxyz(31.4610, 25.8652, 26.2524)
Luminance0.2586 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7987 #79BAAC
analogous
#BA79A7 #BA7987 #BA8B79
triadic
#BA7987 #87BA79 #7987BA
tetradic
#BA7987 #A7BA79 #79BAAC #8B79BA
square
#BA7987 #A7BA79 #79BAAC #8B79BA
split-complementary
#BA7987 #79BA8B #79A7BA
monochromatic
#7A3F4B #A25464 #BA7987 #CFA1AB #E4CACF

Accessibility & contrast

On white

3.40
#BA7987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#BA7987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7987
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7987#FFFFFF#000000##000000
##BA79871.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#838487
Deuteranopia (green-blind)
#939086
Tritanopia (blue-blind)
#C5747E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba7987;
/* rgb */ color: rgb(186, 121, 135);
/* oklch */ color: oklch(64.8% 0.083 5.6);
Tailwind
colors: {
  custom: {
    50: '#d0a0a9',
    500: '#ba7987',
    950: '#000000',
  },
}
SCSS
$custom: #ba7987;
$custom-light: #d0a0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7987",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 347.077,
    "s": 32.02,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64767,
    "c": 0.08299,
    "h": 5.6
  },
  "luminance": 0.25863
}

Semantic roles & 50–950 ramp

primary
#BA7987
secondary
#BBD4CE
accent
#AB933B
background
#FCF9FA
surface
#F9F2F4
border
#D2CCCE
text
#140F10
muted
#827E7F

Preview Lab

Preview with #BA7987

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

Preview Lab → · Contrast checker → · Palette generator →

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