#BA786F#BA786F

#BA786F is a light, moderate red. Relative luminance 0.250; OKLCH L 64.0% C 0.085 H 28.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA786F
RGBrgb(186, 120, 111)
HSLhsl(7, 35%, 58%)
HSVhsv(7, 40%, 73%)
CMYKcmyk(0%, 35.5%, 40.3%, 27.1%)
CIE-LABlab(57.10, 24.74, 15.67)
CIE-LCHlch(57.10, 29.29, 32.35°)
OKLaboklab(63.95% 0.0747 0.0399)
OKLCHoklch(63.95% 0.085 28.1)
XYZxyz(29.8367, 25.0220, 18.2941)
Luminance0.2502 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA786F #6FB1BA
analogous
#BA6F8B #BA786F #BA9D6F
triadic
#BA786F #6FBA78 #786FBA
tetradic
#BA786F #8BBA6F #6FB1BA #9D6FBA
square
#BA786F #8BBA6F #6FB1BA #9D6FBA
split-complementary
#BA786F #6FBA9D #6F8BBA
monochromatic
#764039 #9F564C #BA786F #CE9F98 #E2C6C2

Accessibility & contrast

On white

3.50
#BA786F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#BA786F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA786F
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA786F#FFFFFF#000000##000000
##BA786F1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86816E
Deuteranopia (green-blind)
#968E6E
Tritanopia (blue-blind)
#C76F76
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba786f;
/* rgb */ color: rgb(186, 120, 111);
/* oklch */ color: oklch(64.0% 0.085 28.1);
Tailwind
colors: {
  custom: {
    50: '#d19f98',
    500: '#ba786f',
    950: '#000000',
  },
}
SCSS
$custom: #ba786f;
$custom-light: #d19f98;
$custom-dark: #000000;
JSON
{
  "hex": "#ba786f",
  "rgb": {
    "r": 186,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 7.2,
    "s": 35.211,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63953,
    "c": 0.0847,
    "h": 28.1
  },
  "luminance": 0.2502
}

Semantic roles & 50–950 ramp

primary
#BA786F
secondary
#B3CED1
accent
#BECB5D
background
#FDF9F9
surface
#FAF2F2
border
#D3CCCC
text
#140E0D
muted
#837E7E

Preview Lab

Preview with #BA786F

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

Preview Lab → · Contrast checker → · Palette generator →

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