#BA7882#BA7882

#BA7882 is a light, moderate red. Relative luminance 0.255; OKLCH L 64.4% C 0.084 H 9.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#BA7882
RGBrgb(186, 120, 130)
HSLhsl(351, 32%, 60%)
HSVhsv(351, 35%, 73%)
CMYKcmyk(0%, 35.5%, 30.1%, 27.1%)
CIE-LABlab(57.55, 27.15, 5.32)
CIE-LCHlch(57.55, 27.67, 11.09°)
OKLaboklab(64.44% 0.0823 0.0142)
OKLCHoklch(64.44% 0.084 9.8)
XYZxyz(30.9964, 25.4859, 24.4015)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7882 #78BAB0
analogous
#BA78A3 #BA7882 #BA8F78
triadic
#BA7882 #82BA78 #7882BA
tetradic
#BA7882 #A3BA78 #78BAB0 #8F78BA
square
#BA7882 #A3BA78 #78BAB0 #8F78BA
split-complementary
#BA7882 #78BA8F #78A3BA
monochromatic
#7A3E47 #A2535F #BA7882 #CFA0A8 #E3C9CD

Accessibility & contrast

On white

3.44
#BA7882 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#BA7882 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7882
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7882#FFFFFF#000000##000000
##BA78821.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#838382
Deuteranopia (green-blind)
#938F81
Tritanopia (blue-blind)
#C6727C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba7882;
/* rgb */ color: rgb(186, 120, 130);
/* oklch */ color: oklch(64.4% 0.084 9.8);
Tailwind
colors: {
  custom: {
    50: '#d09fa6',
    500: '#ba7882',
    950: '#000000',
  },
}
SCSS
$custom: #ba7882;
$custom-light: #d09fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7882",
  "rgb": {
    "r": 186,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 350.909,
    "s": 32.353,
    "l": 60
  },
  "oklch": {
    "l": 0.64445,
    "c": 0.08353,
    "h": 9.8
  },
  "luminance": 0.25484
}

Semantic roles & 50–950 ramp

primary
#BA7882
secondary
#BAD4D0
accent
#C9B95F
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140E0F
muted
#837E7F

Preview Lab

Preview with #BA7882

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

Preview Lab → · Contrast checker → · Palette generator →

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