#BA787F#BA787F

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

Color values

HEX#BA787F
RGBrgb(186, 120, 127)
HSLhsl(354, 32%, 60%)
HSVhsv(354, 35%, 73%)
CMYKcmyk(0%, 35.5%, 31.7%, 27.1%)
CIE-LABlab(57.47, 26.75, 6.95)
CIE-LCHlch(57.47, 27.63, 14.56°)
OKLaboklab(64.36% 0.0812 0.0183)
OKLCHoklch(64.36% 0.083 12.7)
XYZxyz(30.7979, 25.4065, 23.3564)
Luminance0.2540 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA787F #78BAB3
analogous
#BA78A0 #BA787F #BA9278
triadic
#BA787F #7FBA78 #787FBA
tetradic
#BA787F #A0BA78 #78BAB3 #9278BA
square
#BA787F #A0BA78 #78BAB3 #9278BA
split-complementary
#BA787F #78BA92 #78A0BA
monochromatic
#7A3E44 #A2535B #BA787F #CFA0A5 #E3C9CC

Accessibility & contrast

On white

3.45
#BA787F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA787F#FFFFFF#000000##000000
##BA787F1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84827F
Deuteranopia (green-blind)
#938F7E
Tritanopia (blue-blind)
#C6727B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba787f;
/* rgb */ color: rgb(186, 120, 127);
/* oklch */ color: oklch(64.4% 0.083 12.7);
Tailwind
colors: {
  custom: {
    50: '#d09fa4',
    500: '#ba787f',
    950: '#000000',
  },
}
SCSS
$custom: #ba787f;
$custom-light: #d09fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba787f",
  "rgb": {
    "r": 186,
    "g": 120,
    "b": 127
  },
  "hsl": {
    "h": 353.636,
    "s": 32.353,
    "l": 60
  },
  "oklch": {
    "l": 0.64361,
    "c": 0.0832,
    "h": 12.7
  },
  "luminance": 0.25404
}

Semantic roles & 50–950 ramp

primary
#BA787F
secondary
#BAD4D1
accent
#C9BD5F
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140E0F
muted
#837E7F

Preview Lab

Preview with #BA787F

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

Preview Lab → · Contrast checker → · Palette generator →

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