#BA795E#BA795E

#BA795E is a light, moderate orange. Relative luminance 0.249; OKLCH L 63.8% C 0.091 H 43.3°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA795E
RGBrgb(186, 121, 94)
HSLhsl(18, 40%, 55%)
HSVhsv(18, 49%, 73%)
CMYKcmyk(0%, 34.9%, 49.5%, 27.1%)
CIE-LABlab(57.00, 22.37, 25.24)
CIE-LCHlch(57.00, 33.73, 48.46°)
OKLaboklab(63.77% 0.0661 0.0622)
OKLCHoklch(63.77% 0.091 43.3)
XYZxyz(29.1091, 24.9244, 13.8653)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA795E #5E9FBA
analogous
#BA5E71 #BA795E #BAA75E
triadic
#BA795E #5EBA79 #795EBA
tetradic
#BA795E #71BA5E #5E9FBA #A75EBA
square
#BA795E #71BA5E #5E9FBA #A75EBA
split-complementary
#BA795E #5EBAA7 #5E71BA
monochromatic
#6E422F #995B42 #BA795E #CC9D89 #DFC0B4

Accessibility & contrast

On white

3.51
#BA795E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#BA795E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA795E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA795E#FFFFFF#000000##000000
##BA795E1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A805C
Deuteranopia (green-blind)
#998E5E
Tritanopia (blue-blind)
#C96E72
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba795e;
/* rgb */ color: rgb(186, 121, 94);
/* oklch */ color: oklch(63.8% 0.091 43.3);
Tailwind
colors: {
  custom: {
    50: '#d2a08c',
    500: '#ba795e',
    950: '#000000',
  },
}
SCSS
$custom: #ba795e;
$custom-light: #d2a08c;
$custom-dark: #000000;
JSON
{
  "hex": "#ba795e",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 94
  },
  "hsl": {
    "h": 17.609,
    "s": 40,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63771,
    "c": 0.09071,
    "h": 43.3
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

primary
#BA795E
secondary
#A7C2CD
accent
#ADD058
background
#FDF9F8
surface
#FAF2F0
border
#D3CCCB
text
#140E0C
muted
#837E7D

Preview Lab

Preview with #BA795E

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

Preview Lab → · Contrast checker → · Palette generator →

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