#BA412B#BA412B
#BA412B is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.2% C 0.160 H 32.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #BA412B |
|---|---|
| RGB | rgb(186, 65, 43) |
| HSL | hsl(9, 62%, 45%) |
| HSV | hsv(9, 77%, 73%) |
| CMYK | cmyk(0%, 65.1%, 76.9%, 27.1%) |
| CIE-LAB | lab(44.80, 47.60, 39.04) |
| CIE-LCH | lch(44.80, 61.56, 39.35°) |
| OKLab | oklab(54.23% 0.1353 0.0862) |
| OKLCH | oklch(54.23% 0.16 32.5) |
| XYZ | xyz(22.5785, 14.3974, 3.8751) |
| Luminance | 0.1439 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 5.67
Reddish
#C44240
ΔE00 6.11
Brick
#A03623
ΔE00 6.11
Rust
#B7410E
ΔE00 6.29
Dull Red
#BB3F3F
ΔE00 6.40
Firebrick
#B22222
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA412B #2BA4BA
analogous
#BA2B5C #BA412B #BA892B
triadic
#BA412B #2BBA41 #412BBA
tetradic
#BA412B #5CBA2B #2BA4BA #892BBA
square
#BA412B #5CBA2B #2BA4BA #892BBA
split-complementary
#BA412B #2BBA89 #2B5CBA
monochromatic
#571E14 #883020 #BA412B #D6624C #E18D7E
Accessibility & contrast
On white
5.41
#BA412B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#BA412B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA412B
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA412B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA412B | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635928
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#CD203D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba412b; /* rgb */ color: rgb(186, 65, 43); /* oklch */ color: oklch(54.2% 0.160 32.5);
Tailwind
colors: {
custom: {
50: '#d77b66',
500: '#ba412b',
950: '#000000',
},
}SCSS
$custom: #ba412b; $custom-light: #d77b66; $custom-dark: #000000;
JSON
{
"hex": "#ba412b",
"rgb": {
"r": 186,
"g": 65,
"b": 43
},
"hsl": {
"h": 9.231,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.54226,
"c": 0.16038,
"h": 32.5
},
"luminance": 0.14394
}Semantic roles & 50–950 ramp
primary
#BA412B
secondary
#77BDCA
accent
#CCE642
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A