#BA795B#BA795B

#BA795B is a light, moderate orange. Relative luminance 0.249; OKLCH L 63.7% C 0.092 H 45.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#BA795B
RGBrgb(186, 121, 91)
HSLhsl(19, 41%, 54%)
HSVhsv(19, 51%, 73%)
CMYKcmyk(0%, 34.9%, 51.1%, 27.1%)
CIE-LABlab(56.95, 22.08, 26.87)
CIE-LCHlch(56.95, 34.77, 50.59°)
OKLaboklab(63.72% 0.0648 0.0658)
OKLCHoklch(63.72% 0.092 45.4)
XYZxyz(28.9771, 24.8716, 13.1701)
Luminance0.2487 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA795B #5B9CBA
analogous
#BA5B6D #BA795B #BAA95B
triadic
#BA795B #5BBA79 #795BBA
tetradic
#BA795B #6DBA5B #5B9CBA #A95BBA
square
#BA795B #6DBA5B #5B9CBA #A95BBA
split-complementary
#BA795B #5BBAA9 #5B6DBA
monochromatic
#6D422E #985C40 #BA795B #CC9C86 #DEBFB1

Accessibility & contrast

On white

3.52
#BA795B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#BA795B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA795B
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA795B#FFFFFF#000000##000000
##BA795B1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8059
Deuteranopia (green-blind)
#9A8E5B
Tritanopia (blue-blind)
#C96E71
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba795b;
/* rgb */ color: rgb(186, 121, 91);
/* oklch */ color: oklch(63.7% 0.092 45.4);
Tailwind
colors: {
  custom: {
    50: '#d2a089',
    500: '#ba795b',
    950: '#000000',
  },
}
SCSS
$custom: #ba795b;
$custom-light: #d2a089;
$custom-dark: #000000;
JSON
{
  "hex": "#ba795b",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 18.947,
    "s": 40.773,
    "l": 54.314
  },
  "oklch": {
    "l": 0.63715,
    "c": 0.09235,
    "h": 45.4
  },
  "luminance": 0.24869
}

Semantic roles & 50–950 ramp

primary
#BA795B
secondary
#A4C0CD
accent
#AAD157
background
#FDF9F8
surface
#FAF2F0
border
#D3CCCB
text
#140E0B
muted
#837E7C

Preview Lab

Preview with #BA795B

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

Preview Lab → · Contrast checker → · Palette generator →

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