#BA7E8A#BA7E8A

#BA7E8A is a light, moderate red. Relative luminance 0.272; OKLCH L 65.8% C 0.076 H 6.2°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#BA7E8A
RGBrgb(186, 126, 138)
HSLhsl(348, 30%, 61%)
HSVhsv(348, 32%, 73%)
CMYKcmyk(0%, 32.3%, 25.8%, 27.1%)
CIE-LABlab(59.16, 24.96, 3.02)
CIE-LCHlch(59.16, 25.14, 6.91°)
OKLaboklab(65.75% 0.0755 0.0083)
OKLCHoklch(65.75% 0.076 6.2)
XYZxyz(32.2987, 27.1977, 27.5883)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7E8A #7EBAAE
analogous
#BA7EA8 #BA7E8A #BA907E
triadic
#BA7E8A #8ABA7E #7E8ABA
tetradic
#BA7E8A #A8BA7E #7EBAAE #907EBA
square
#BA7E8A #A8BA7E #7EBAAE #907EBA
split-complementary
#BA7E8A #7EBA90 #7EA8BA
monochromatic
#7C424E #A35767 #BA7E8A #CFA6AE #E5CED2

Accessibility & contrast

On white

3.26
#BA7E8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#BA7E8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7E8A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7E8A#FFFFFF#000000##000000
##BA7E8A1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87888A
Deuteranopia (green-blind)
#959389
Tritanopia (blue-blind)
#C47A82
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba7e8a;
/* rgb */ color: rgb(186, 126, 138);
/* oklch */ color: oklch(65.8% 0.076 6.2);
Tailwind
colors: {
  custom: {
    50: '#d0a4ac',
    500: '#ba7e8a',
    950: '#000000',
  },
}
SCSS
$custom: #ba7e8a;
$custom-light: #d0a4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7e8a",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 138
  },
  "hsl": {
    "h": 348,
    "s": 30.303,
    "l": 61.176
  },
  "oklch": {
    "l": 0.6575,
    "c": 0.07596,
    "h": 6.2
  },
  "luminance": 0.27196
}

Semantic roles & 50–950 ramp

primary
#BA7E8A
secondary
#BFD5D1
accent
#A9933D
background
#FCFAFA
surface
#F9F4F4
border
#D2CECE
text
#140F10
muted
#827F7F

Preview Lab

Preview with #BA7E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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