#BA796B#BA796B
#BA796B is a light, moderate red. Relative luminance 0.252; OKLCH L 64.0% C 0.085 H 32.7°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA796B |
|---|---|
| RGB | rgb(186, 121, 107) |
| HSL | hsl(11, 36%, 57%) |
| HSV | hsv(11, 42%, 73%) |
| CMYK | cmyk(0%, 34.9%, 42.5%, 27.1%) |
| CIE-LAB | lab(57.25, 23.73, 18.17) |
| CIE-LCH | lch(57.25, 29.89, 37.45°) |
| OKLab | oklab(64.04% 0.0714 0.0459) |
| OKLCH | oklch(64.04% 0.085 32.7) |
| XYZ | xyz(29.7423, 25.1777, 17.2004) |
| Luminance | 0.2517 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pinkish Brown
#B17261
ΔE00 3.07
Brownish Pink
#C27E79
ΔE00 4.25
Clay
#B66A50
ΔE00 6.45
Dirty Pink
#CA7B80
ΔE00 7.99
Dusty Rose
#C0737A
ΔE00 8.17
Adobe
#BD6C48
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA796B #6BACBA
analogous
#BA6B84 #BA796B #BAA16B
triadic
#BA796B #6BBA79 #796BBA
tetradic
#BA796B #84BA6B #6BACBA #A16BBA
square
#BA796B #84BA6B #6BACBA #A16BBA
split-complementary
#BA796B #6BBAA1 #6B84BA
monochromatic
#744136 #9E594A #BA796B #CD9F95 #E1C5BE
Accessibility & contrast
On white
3.48
#BA796B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.03
#BA796B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA796B
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA796B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA796B | 1.00 | 3.48 | 6.03 | 6.03 |
| #FFFFFF | 3.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88816A
Deuteranopia (green-blind)
#978F6A
Tritanopia (blue-blind)
#C87075
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #ba796b; /* rgb */ color: rgb(186, 121, 107); /* oklch */ color: oklch(64.0% 0.085 32.7);
Tailwind
colors: {
custom: {
50: '#d1a095',
500: '#ba796b',
950: '#000000',
},
}SCSS
$custom: #ba796b; $custom-light: #d1a095; $custom-dark: #000000;
JSON
{
"hex": "#ba796b",
"rgb": {
"r": 186,
"g": 121,
"b": 107
},
"hsl": {
"h": 10.633,
"s": 36.406,
"l": 57.451
},
"oklch": {
"l": 0.64042,
"c": 0.08487,
"h": 32.7
},
"luminance": 0.25175
}Semantic roles & 50–950 ramp
primary
#BA796B
secondary
#B0CBD0
accent
#B8CC5B
background
#FDF9F9
surface
#FAF2F1
border
#D3CCCB
text
#140E0D
muted
#837E7E