#BA4940#BA4940
#BA4940 is a mid, vivid red. Relative luminance 0.156; OKLCH L 55.5% C 0.148 H 27.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4940 |
|---|---|
| RGB | rgb(186, 73, 64) |
| HSL | hsl(4, 49%, 49%) |
| HSV | hsv(4, 66%, 73%) |
| CMYK | cmyk(0%, 60.8%, 65.6%, 27.1%) |
| CIE-LAB | lab(46.42, 45.05, 28.99) |
| CIE-LCH | lch(46.42, 53.57, 32.76°) |
| OKLab | oklab(55.53% 0.1314 0.0683) |
| OKLCH | oklch(55.53% 0.148 27.4) |
| XYZ | xyz(23.5599, 15.5775, 6.6156) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 2.35
Dull Red
#BB3F3F
ΔE00 2.72
Dusty Red
#B9484E
ΔE00 4.94
Dark Coral
#CF524E
ΔE00 5.60
Dark Salmon
#C85A53
ΔE00 5.88
Faded Red
#D3494E
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4940 #40B1BA
analogous
#BA4074 #BA4940 #BA8640
triadic
#BA4940 #40BA49 #4940BA
tetradic
#BA4940 #74BA40 #40B1BA #8640BA
square
#BA4940 #74BA40 #40B1BA #8640BA
split-complementary
#BA4940 #40BA86 #4074BA
monochromatic
#5F2521 #8C3730 #BA4940 #CC726B #DC9E99
Accessibility & contrast
On white
5.10
#BA4940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#BA4940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4940
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4940 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675F3E
Deuteranopia (green-blind)
#83773D
Tritanopia (blue-blind)
#CC3148
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ba4940; /* rgb */ color: rgb(186, 73, 64); /* oklch */ color: oklch(55.5% 0.148 27.4);
Tailwind
colors: {
custom: {
50: '#d58075',
500: '#ba4940',
950: '#000000',
},
}SCSS
$custom: #ba4940; $custom-light: #d58075; $custom-dark: #000000;
JSON
{
"hex": "#ba4940",
"rgb": {
"r": 186,
"g": 73,
"b": 64
},
"hsl": {
"h": 4.426,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.5553,
"c": 0.14811,
"h": 27.4
},
"luminance": 0.15574
}Semantic roles & 50–950 ramp
primary
#BA4940
secondary
#8EC3C8
accent
#CED84F
background
#FEF8F7
surface
#FCEFED
border
#D5CAC8
text
#160B08
muted
#847C7B