#BA796E#BA796E

#BA796E is a light, moderate red. Relative luminance 0.252; OKLCH L 64.1% C 0.084 H 30.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BA796E
RGBrgb(186, 121, 110)
HSLhsl(9, 36%, 58%)
HSVhsv(9, 41%, 73%)
CMYKcmyk(0%, 34.9%, 40.9%, 27.1%)
CIE-LABlab(57.31, 24.07, 16.54)
CIE-LCHlch(57.31, 29.21, 34.49°)
OKLaboklab(64.11% 0.0726 0.042)
OKLCHoklch(64.11% 0.084 30.1)
XYZxyz(29.9029, 25.2419, 18.0461)
Luminance0.2524 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA796E #6EAFBA
analogous
#BA6E89 #BA796E #BA9F6E
triadic
#BA796E #6EBA79 #796EBA
tetradic
#BA796E #89BA6E #6EAFBA #9F6EBA
square
#BA796E #89BA6E #6EAFBA #9F6EBA
split-complementary
#BA796E #6EBA9F #6E89BA
monochromatic
#764138 #9F584C #BA796E #CE9F97 #E1C6C1

Accessibility & contrast

On white

3.47
#BA796E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#BA796E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA796E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA796E#FFFFFF#000000##000000
##BA796E1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87826D
Deuteranopia (green-blind)
#978F6D
Tritanopia (blue-blind)
#C77076
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba796e;
/* rgb */ color: rgb(186, 121, 110);
/* oklch */ color: oklch(64.1% 0.084 30.1);
Tailwind
colors: {
  custom: {
    50: '#d1a097',
    500: '#ba796e',
    950: '#000000',
  },
}
SCSS
$custom: #ba796e;
$custom-light: #d1a097;
$custom-dark: #000000;
JSON
{
  "hex": "#ba796e",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 8.684,
    "s": 35.514,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6411,
    "c": 0.0839,
    "h": 30.1
  },
  "luminance": 0.2524
}

Semantic roles & 50–950 ramp

primary
#BA796E
secondary
#B3CDD1
accent
#BBCC5C
background
#FDF9F9
surface
#FAF2F2
border
#D3CCCC
text
#140F0D
muted
#837E7E

Preview Lab

Preview with #BA796E

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

Preview Lab → · Contrast checker → · Palette generator →

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