#BA402A#BA402A
#BA402A is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.1% C 0.162 H 32.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #BA402A |
|---|---|
| RGB | rgb(186, 64, 42) |
| HSL | hsl(9, 63%, 45%) |
| HSV | hsv(9, 77%, 73%) |
| CMYK | cmyk(0%, 65.6%, 77.4%, 27.1%) |
| CIE-LAB | lab(44.63, 48.00, 39.40) |
| CIE-LCH | lch(44.63, 62.10, 39.38°) |
| OKLab | oklab(54.09% 0.1363 0.0867) |
| OKLCH | oklch(54.09% 0.162 32.5) |
| XYZ | xyz(22.5035, 14.2763, 3.7607) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 5.49
Brick
#A03623
ΔE00 6.00
Reddish
#C44240
ΔE00 6.21
Rust
#B7410E
ΔE00 6.23
Firebrick
#B22222
ΔE00 6.27
Brownish Red
#9E3623
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA402A #2AA4BA
analogous
#BA2A5C #BA402A #BA882A
triadic
#BA402A #2ABA40 #402ABA
tetradic
#BA402A #5CBA2A #2AA4BA #882ABA
square
#BA402A #5CBA2A #2AA4BA #882ABA
split-complementary
#BA402A #2ABA88 #2A5CBA
monochromatic
#561E13 #882F1F #BA402A #D6604B #E28C7D
Accessibility & contrast
On white
5.45
#BA402A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#BA402A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA402A
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA402A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA402A | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635927
Deuteranopia (green-blind)
#817425
Tritanopia (blue-blind)
#CD1E3C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba402a; /* rgb */ color: rgb(186, 64, 42); /* oklch */ color: oklch(54.1% 0.162 32.5);
Tailwind
colors: {
custom: {
50: '#d77b65',
500: '#ba402a',
950: '#000000',
},
}SCSS
$custom: #ba402a; $custom-light: #d77b65; $custom-dark: #000000;
JSON
{
"hex": "#ba402a",
"rgb": {
"r": 186,
"g": 64,
"b": 42
},
"hsl": {
"h": 9.167,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.54094,
"c": 0.16153,
"h": 32.5
},
"luminance": 0.14273
}Semantic roles & 50–950 ramp
primary
#BA402A
secondary
#76BDCA
accent
#CDE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A