#BA402B#BA402B
#BA402B is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.1% C 0.161 H 32.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #BA402B |
|---|---|
| RGB | rgb(186, 64, 43) |
| HSL | hsl(9, 62%, 45%) |
| HSV | hsv(9, 77%, 73%) |
| CMYK | cmyk(0%, 65.6%, 76.9%, 27.1%) |
| CIE-LAB | lab(44.64, 48.04, 38.87) |
| CIE-LCH | lch(44.64, 61.79, 38.98°) |
| OKLab | oklab(54.11% 0.1366 0.0858) |
| OKLCH | oklch(54.11% 0.161 32.1) |
| XYZ | xyz(22.5216, 14.2836, 3.8561) |
| Luminance | 0.1428 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 5.67
Reddish
#C44240
ΔE00 5.95
Brick
#A03623
ΔE00 5.99
Firebrick
#B22222
ΔE00 6.15
Dull Red
#BB3F3F
ΔE00 6.20
Brownish Red
#9E3623
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA402B #2BA5BA
analogous
#BA2B5E #BA402B #BA872B
triadic
#BA402B #2BBA40 #402BBA
tetradic
#BA402B #5EBA2B #2BA5BA #872BBA
square
#BA402B #5EBA2B #2BA5BA #872BBA
split-complementary
#BA402B #2BBA87 #2B5EBA
monochromatic
#571E14 #882F20 #BA402B #D6614C #E18D7E
Accessibility & contrast
On white
5.45
#BA402B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#BA402B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA402B
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA402B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA402B | 1.00 | 5.45 | 3.86 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635928
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#CD1E3C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba402b; /* rgb */ color: rgb(186, 64, 43); /* oklch */ color: oklch(54.1% 0.161 32.1);
Tailwind
colors: {
custom: {
50: '#d77b66',
500: '#ba402b',
950: '#000000',
},
}SCSS
$custom: #ba402b; $custom-light: #d77b66; $custom-dark: #000000;
JSON
{
"hex": "#ba402b",
"rgb": {
"r": 186,
"g": 64,
"b": 43
},
"hsl": {
"h": 8.811,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.54105,
"c": 0.16133,
"h": 32.1
},
"luminance": 0.1428
}Semantic roles & 50–950 ramp
primary
#BA402B
secondary
#77BECA
accent
#CEE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A