#BA5842#BA5842
#BA5842 is a mid, vivid red. Relative luminance 0.178; OKLCH L 57.7% C 0.132 H 34.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5842 |
|---|---|
| RGB | rgb(186, 88, 66) |
| HSL | hsl(11, 48%, 49%) |
| HSV | hsv(11, 65%, 73%) |
| CMYK | cmyk(0%, 52.7%, 64.5%, 27.1%) |
| CIE-LAB | lab(49.27, 37.84, 31.32) |
| CIE-LCH | lch(49.27, 49.12, 39.62°) |
| OKLab | oklab(57.7% 0.1093 0.0737) |
| OKLCH | oklch(57.7% 0.132 34) |
| XYZ | xyz(24.7250, 17.8149, 7.2898) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Clay
#B66A50
ΔE00 5.57
Dark Salmon
#C85A53
ΔE00 5.79
Dark Coral
#CF524E
ΔE00 6.56
Terracotta (survey)
#CA6641
ΔE00 6.64
Reddish
#C44240
ΔE00 6.68
Terra Cotta
#C9643B
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5842 #42A4BA
analogous
#BA4268 #BA5842 #BA9442
triadic
#BA5842 #42BA58 #5842BA
tetradic
#BA5842 #68BA42 #42A4BA #9442BA
square
#BA5842 #68BA42 #42A4BA #9442BA
split-complementary
#BA5842 #42BA94 #4268BA
monochromatic
#602D22 #8D4332 #BA5842 #CB7F6E #DBA79B
Accessibility & contrast
On white
4.60
#BA5842 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#BA5842 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5842
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5842 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716840
Deuteranopia (green-blind)
#897D40
Tritanopia (blue-blind)
#CB4653
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba5842; /* rgb */ color: rgb(186, 88, 66); /* oklch */ color: oklch(57.7% 0.132 34.0);
Tailwind
colors: {
custom: {
50: '#d48977',
500: '#ba5842',
950: '#000000',
},
}SCSS
$custom: #ba5842; $custom-light: #d48977; $custom-dark: #000000;
JSON
{
"hex": "#ba5842",
"rgb": {
"r": 186,
"g": 88,
"b": 66
},
"hsl": {
"h": 11,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.577,
"c": 0.13186,
"h": 34
},
"luminance": 0.17812
}Semantic roles & 50–950 ramp
primary
#BA5842
secondary
#90BDC8
accent
#BFD751
background
#FDF8F7
surface
#FBF0ED
border
#D4CBC8
text
#150C08
muted
#837D7B