#BA332B#BA332B
#BA332B is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.173 H 28.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #BA332B |
|---|---|
| RGB | rgb(186, 51, 43) |
| HSL | hsl(3, 62%, 45%) |
| HSV | hsv(3, 77%, 73%) |
| CMYK | cmyk(0%, 72.6%, 76.9%, 27.1%) |
| CIE-LAB | lab(42.74, 53.21, 36.85) |
| CIE-LCH | lch(42.74, 64.72, 34.70°) |
| OKLab | oklab(52.68% 0.1528 0.0815) |
| OKLCH | oklch(52.68% 0.173 28.1) |
| XYZ | xyz(21.8721, 12.9845, 3.6396) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.33
Scarlet
#BE0119
ΔE00 4.19
Dull Red
#BB3F3F
ΔE00 4.48
Reddish
#C44240
ΔE00 5.07
Brown
#A52A2A
ΔE00 5.27
Brick
#A03623
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA332B #2BB2BA
analogous
#BA2B6A #BA332B #BA7B2B
triadic
#BA332B #2BBA33 #332BBA
tetradic
#BA332B #6ABA2B #2BB2BA #7B2BBA
square
#BA332B #6ABA2B #2BB2BA #7B2BBA
split-complementary
#BA332B #2BBA7B #2B6ABA
monochromatic
#571814 #882520 #BA332B #D6544C #E1847E
Accessibility & contrast
On white
5.84
#BA332B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA332B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA332B
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA332B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA332B | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5229
Deuteranopia (green-blind)
#7D7026
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba332b; /* rgb */ color: rgb(186, 51, 43); /* oklch */ color: oklch(52.7% 0.173 28.1);
Tailwind
colors: {
custom: {
50: '#d87465',
500: '#ba332b',
950: '#000000',
},
}SCSS
$custom: #ba332b; $custom-light: #d87465; $custom-dark: #000000;
JSON
{
"hex": "#ba332b",
"rgb": {
"r": 186,
"g": 51,
"b": 43
},
"hsl": {
"h": 3.357,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52684,
"c": 0.17313,
"h": 28.1
},
"luminance": 0.12981
}Semantic roles & 50–950 ramp
primary
#BA332B
secondary
#77C5CA
accent
#DCE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A