#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 |
|---|---|
| RGB | rgb(186, 121, 110) |
| HSL | hsl(9, 36%, 58%) |
| HSV | hsv(9, 41%, 73%) |
| CMYK | cmyk(0%, 34.9%, 40.9%, 27.1%) |
| CIE-LAB | lab(57.31, 24.07, 16.54) |
| CIE-LCH | lch(57.31, 29.21, 34.49°) |
| OKLab | oklab(64.11% 0.0726 0.042) |
| OKLCH | oklch(64.11% 0.084 30.1) |
| XYZ | xyz(29.9029, 25.2419, 18.0461) |
| Luminance | 0.2524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Pink
#C27E79
ΔE00 3.26
Pinkish Brown
#B17261
ΔE00 3.77
Dirty Pink
#CA7B80
ΔE00 6.88
Dusty Rose
#C0737A
ΔE00 7.00
Clay
#B66A50
ΔE00 7.33
Reddish Grey
#997570
ΔE00 8.47
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 |
|---|---|---|---|---|
| ##BA796E | 1.00 | 3.47 | 6.05 | 6.05 |
| #FFFFFF | 3.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.05 | 21.00 | 1.00 | 1.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