#BA7C8A#BA7C8A

#BA7C8A is a light, moderate red. Relative luminance 0.267; OKLCH L 65.4% C 0.079 H 4.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#BA7C8A
RGBrgb(186, 124, 138)
HSLhsl(346, 31%, 61%)
HSVhsv(346, 33%, 73%)
CMYKcmyk(0%, 33.3%, 25.8%, 27.1%)
CIE-LABlab(58.69, 26.07, 2.34)
CIE-LCHlch(58.69, 26.18, 5.14°)
OKLaboklab(65.39% 0.0788 0.0065)
OKLCHoklch(65.39% 0.079 4.7)
XYZxyz(32.0455, 26.6914, 27.5039)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7C8A #7CBAAC
analogous
#BA7CA9 #BA7C8A #BA8D7C
triadic
#BA7C8A #8ABA7C #7C8ABA
tetradic
#BA7C8A #A9BA7C #7CBAAC #8D7CBA
square
#BA7C8A #A9BA7C #7CBAAC #8D7CBA
split-complementary
#BA7C8A #7CBA8D #7CA9BA
monochromatic
#7B414E #A35667 #BA7C8A #CFA4AE #E4CCD2

Accessibility & contrast

On white

3.31
#BA7C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#BA7C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7C8A
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7C8A#FFFFFF#000000##000000
##BA7C8A1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85868A
Deuteranopia (green-blind)
#949189
Tritanopia (blue-blind)
#C57881
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba7c8a;
/* rgb */ color: rgb(186, 124, 138);
/* oklch */ color: oklch(65.4% 0.079 4.7);
Tailwind
colors: {
  custom: {
    50: '#d0a2ac',
    500: '#ba7c8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba7c8a;
$custom-light: #d0a2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7c8a",
  "rgb": {
    "r": 186,
    "g": 124,
    "b": 138
  },
  "hsl": {
    "h": 346.452,
    "s": 31,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6539,
    "c": 0.07908,
    "h": 4.7
  },
  "luminance": 0.26689
}

Semantic roles & 50–950 ramp

primary
#BA7C8A
secondary
#BDD5CF
accent
#AA913C
background
#FCFAFA
surface
#F9F3F4
border
#D2CDCE
text
#140F10
muted
#827F7F

Preview Lab

Preview with #BA7C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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