#BA796F#BA796F

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

Color values

HEX#BA796F
RGBrgb(186, 121, 111)
HSLhsl(8, 35%, 58%)
HSVhsv(8, 40%, 73%)
CMYKcmyk(0%, 34.9%, 40.3%, 27.1%)
CIE-LABlab(57.33, 24.19, 15.99)
CIE-LCHlch(57.33, 29.00, 33.47°)
OKLaboklab(64.13% 0.073 0.0407)
OKLCHoklch(64.13% 0.084 29.1)
XYZxyz(29.9576, 25.2638, 18.3344)
Luminance0.2526 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA796F #6FB0BA
analogous
#BA6F8A #BA796F #BA9E6F
triadic
#BA796F #6FBA79 #796FBA
tetradic
#BA796F #8ABA6F #6FB0BA #9E6FBA
square
#BA796F #8ABA6F #6FB0BA #9E6FBA
split-complementary
#BA796F #6FBA9E #6F8ABA
monochromatic
#764139 #9F574C #BA796F #CEA098 #E2C6C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA796F#FFFFFF#000000##000000
##BA796F1.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)
#87826E
Deuteranopia (green-blind)
#978F6E
Tritanopia (blue-blind)
#C77077
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba796f;
/* rgb */ color: rgb(186, 121, 111);
/* oklch */ color: oklch(64.1% 0.084 29.1);
Tailwind
colors: {
  custom: {
    50: '#d1a098',
    500: '#ba796f',
    950: '#000000',
  },
}
SCSS
$custom: #ba796f;
$custom-light: #d1a098;
$custom-dark: #000000;
JSON
{
  "hex": "#ba796f",
  "rgb": {
    "r": 186,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 8,
    "s": 35.211,
    "l": 58.235
  },
  "oklch": {
    "l": 0.64134,
    "c": 0.08361,
    "h": 29.1
  },
  "luminance": 0.25262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA796F

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

Preview Lab → · Contrast checker → · Palette generator →

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