#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 |
|---|---|
| RGB | rgb(186, 121, 94) |
| HSL | hsl(18, 40%, 55%) |
| HSV | hsv(18, 49%, 73%) |
| CMYK | cmyk(0%, 34.9%, 49.5%, 27.1%) |
| CIE-LAB | lab(57.00, 22.37, 25.24) |
| CIE-LCH | lch(57.00, 33.73, 48.46°) |
| OKLab | oklab(63.77% 0.0661 0.0622) |
| OKLCH | oklch(63.77% 0.091 43.3) |
| XYZ | xyz(29.1091, 24.9244, 13.8653) |
| Luminance | 0.2492 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Pinkish Brown
#B17261
ΔE00 4.37
Clay
#B66A50
ΔE00 4.82
Adobe
#BD6C48
ΔE00 4.83
Terracotta
#C96F4A
ΔE00 5.17
Terracota
#CB6843
ΔE00 6.79
Terracotta (survey)
#CA6641
ΔE00 7.13
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 |
|---|---|---|---|---|
| ##BA795E | 1.00 | 3.51 | 5.98 | 5.98 |
| #FFFFFF | 3.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.98 | 21.00 | 1.00 | 1.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