#BA4838#BA4838
#BA4838 is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.3% C 0.151 H 30.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4838 |
|---|---|
| RGB | rgb(186, 72, 56) |
| HSL | hsl(7, 54%, 47%) |
| HSV | hsv(7, 70%, 73%) |
| CMYK | cmyk(0%, 61.3%, 69.9%, 27.1%) |
| CIE-LAB | lab(46.13, 45.06, 33.27) |
| CIE-LCH | lch(46.13, 56.02, 36.44°) |
| OKLab | oklab(55.28% 0.1299 0.0765) |
| OKLCH | oklch(55.28% 0.151 30.5) |
| XYZ | xyz(23.2832, 15.3625, 5.4798) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.98
Dull Red
#BB3F3F
ΔE00 4.49
Dark Coral
#CF524E
ΔE00 6.81
Dark Salmon
#C85A53
ΔE00 7.06
Dusty Red
#B9484E
ΔE00 7.23
Firebrick
#B22222
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4838 #38AABA
analogous
#BA3869 #BA4838 #BA8938
triadic
#BA4838 #38BA48 #4838BA
tetradic
#BA4838 #69BA38 #38AABA #8938BA
square
#BA4838 #69BA38 #38AABA #8938BA
split-complementary
#BA4838 #38BA89 #3869BA
monochromatic
#5C241C #8B362A #BA4838 #CF6E60 #DD998F
Accessibility & contrast
On white
5.16
#BA4838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#BA4838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4838
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4838 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675E36
Deuteranopia (green-blind)
#837735
Tritanopia (blue-blind)
#CC2E45
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba4838; /* rgb */ color: rgb(186, 72, 56); /* oklch */ color: oklch(55.3% 0.151 30.5);
Tailwind
colors: {
custom: {
50: '#d6806f',
500: '#ba4838',
950: '#000000',
},
}SCSS
$custom: #ba4838; $custom-light: #d6806f; $custom-dark: #000000;
JSON
{
"hex": "#ba4838",
"rgb": {
"r": 186,
"g": 72,
"b": 56
},
"hsl": {
"h": 7.385,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.55276,
"c": 0.15076,
"h": 30.5
},
"luminance": 0.15359
}Semantic roles & 50–950 ramp
primary
#BA4838
secondary
#86C0C8
accent
#CBDD4B
background
#FEF8F6
surface
#FCEFEC
border
#D5CAC7
text
#160A07
muted
#847C7A