#BA5840#BA5840
#BA5840 is a mid, vivid red. Relative luminance 0.178; OKLCH L 57.7% C 0.132 H 34.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5840 |
|---|---|
| RGB | rgb(186, 88, 64) |
| HSL | hsl(12, 49%, 49%) |
| HSV | hsv(12, 66%, 73%) |
| CMYK | cmyk(0%, 52.7%, 65.6%, 27.1%) |
| CIE-LAB | lab(49.24, 37.71, 32.43) |
| CIE-LCH | lch(49.24, 49.74, 40.69°) |
| OKLab | oklab(57.67% 0.1086 0.0759) |
| OKLCH | oklch(57.67% 0.132 34.9) |
| XYZ | xyz(24.6671, 17.7917, 6.9847) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Clay
#B66A50
ΔE00 5.46
Terracotta (survey)
#CA6641
ΔE00 6.28
Dark Salmon
#C85A53
ΔE00 6.35
Terra Cotta
#C9643B
ΔE00 6.51
Terracota
#CB6843
ΔE00 6.76
Adobe
#BD6C48
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5840 #40A2BA
analogous
#BA4065 #BA5840 #BA9540
triadic
#BA5840 #40BA58 #5840BA
tetradic
#BA5840 #65BA40 #40A2BA #9540BA
square
#BA5840 #65BA40 #40A2BA #9540BA
split-complementary
#BA5840 #40BA95 #4065BA
monochromatic
#5F2D21 #8C4230 #BA5840 #CC7E6B #DCA699
Accessibility & contrast
On white
4.61
#BA5840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#BA5840 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5840
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5840 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72683D
Deuteranopia (green-blind)
#8A7D3E
Tritanopia (blue-blind)
#CB4552
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba5840; /* rgb */ color: rgb(186, 88, 64); /* oklch */ color: oklch(57.7% 0.132 34.9);
Tailwind
colors: {
custom: {
50: '#d58975',
500: '#ba5840',
950: '#000000',
},
}SCSS
$custom: #ba5840; $custom-light: #d58975; $custom-dark: #000000;
JSON
{
"hex": "#ba5840",
"rgb": {
"r": 186,
"g": 88,
"b": 64
},
"hsl": {
"h": 11.803,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.5767,
"c": 0.13247,
"h": 34.9
},
"luminance": 0.17789
}Semantic roles & 50–950 ramp
primary
#BA5840
secondary
#8EBCC8
accent
#BDD84F
background
#FDF8F7
surface
#FBF0ED
border
#D4CBC8
text
#150C08
muted
#837D7B