#BA787E#BA787E

#BA787E is a light, moderate red. Relative luminance 0.254; OKLCH L 64.3% C 0.083 H 13.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BA787E
RGBrgb(186, 120, 126)
HSLhsl(355, 32%, 60%)
HSVhsv(355, 35%, 73%)
CMYKcmyk(0%, 35.5%, 32.3%, 27.1%)
CIE-LABlab(57.44, 26.61, 7.49)
CIE-LCHlch(57.44, 27.65, 15.72°)
OKLaboklab(64.33% 0.0808 0.0197)
OKLCHoklch(64.33% 0.083 13.7)
XYZxyz(30.7331, 25.3806, 23.0149)
Luminance0.2538 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA787E #78BAB4
analogous
#BA789F #BA787E #BA9378
triadic
#BA787E #7EBA78 #787EBA
tetradic
#BA787E #9FBA78 #78BAB4 #9378BA
square
#BA787E #9FBA78 #78BAB4 #9378BA
split-complementary
#BA787E #78BA93 #789FBA
monochromatic
#7A3E44 #A2535A #BA787E #CFA0A5 #E3C9CB

Accessibility & contrast

On white

3.46
#BA787E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#BA787E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA787E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA787E#FFFFFF#000000##000000
##BA787E1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84827E
Deuteranopia (green-blind)
#948F7D
Tritanopia (blue-blind)
#C6727A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba787e;
/* rgb */ color: rgb(186, 120, 126);
/* oklch */ color: oklch(64.3% 0.083 13.7);
Tailwind
colors: {
  custom: {
    50: '#d09fa3',
    500: '#ba787e',
    950: '#000000',
  },
}
SCSS
$custom: #ba787e;
$custom-light: #d09fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba787e",
  "rgb": {
    "r": 186,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 354.545,
    "s": 32.353,
    "l": 60
  },
  "oklch": {
    "l": 0.64334,
    "c": 0.08312,
    "h": 13.7
  },
  "luminance": 0.25378
}

Semantic roles & 50–950 ramp

primary
#BA787E
secondary
#BAD4D1
accent
#C9BF5F
background
#FDF9FA
surface
#FAF2F3
border
#D3CCCD
text
#140E0F
muted
#837E7F

Preview Lab

Preview with #BA787E

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

Preview Lab → · Contrast checker → · Palette generator →

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