#BA322E#BA322E
#BA322E is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.174 H 26.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA322E |
|---|---|
| RGB | rgb(186, 50, 46) |
| HSL | hsl(2, 60%, 45%) |
| HSV | hsv(2, 75%, 73%) |
| CMYK | cmyk(0%, 73.1%, 75.3%, 27.1%) |
| CIE-LAB | lab(42.64, 53.69, 35.04) |
| CIE-LCH | lch(42.64, 64.11, 33.13°) |
| OKLab | oklab(52.62% 0.1549 0.0783) |
| OKLCH | oklch(52.62% 0.174 26.8) |
| XYZ | xyz(21.8860, 12.9209, 3.9258) |
| Luminance | 0.1292 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.29
Dull Red
#BB3F3F
ΔE00 3.75
Scarlet
#BE0119
ΔE00 4.31
Reddish
#C44240
ΔE00 4.63
Brown
#A52A2A
ΔE00 4.86
Lipstick Red
#C0022F
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA322E #2EB6BA
analogous
#BA2E70 #BA322E #BA782E
triadic
#BA322E #2EBA32 #322EBA
tetradic
#BA322E #70BA2E #2EB6BA #782EBA
square
#BA322E #70BA2E #2EB6BA #782EBA
split-complementary
#BA322E #2EBA78 #2E70BA
monochromatic
#581816 #892522 #BA322E #D45551 #E08582
Accessibility & contrast
On white
5.86
#BA322E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA322E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA322E
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA322E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA322E | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A522C
Deuteranopia (green-blind)
#7C6F29
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba322e; /* rgb */ color: rgb(186, 50, 46); /* oklch */ color: oklch(52.6% 0.174 26.8);
Tailwind
colors: {
custom: {
50: '#d77467',
500: '#ba322e',
950: '#000000',
},
}SCSS
$custom: #ba322e; $custom-light: #d77467; $custom-dark: #000000;
JSON
{
"hex": "#ba322e",
"rgb": {
"r": 186,
"g": 50,
"b": 46
},
"hsl": {
"h": 1.714,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52623,
"c": 0.17357,
"h": 26.8
},
"luminance": 0.12918
}Semantic roles & 50–950 ramp
primary
#BA322E
secondary
#7BC7C9
accent
#DFE344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A