#BA332E#BA332E
#BA332E is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.173 H 27.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA332E |
|---|---|
| RGB | rgb(186, 51, 46) |
| HSL | hsl(2, 60%, 45%) |
| HSV | hsv(2, 75%, 73%) |
| CMYK | cmyk(0%, 72.6%, 75.3%, 27.1%) |
| CIE-LAB | lab(42.77, 53.33, 35.18) |
| CIE-LCH | lch(42.77, 63.89, 33.41°) |
| OKLab | oklab(52.72% 0.1538 0.0786) |
| OKLCH | oklch(52.72% 0.173 27.1) |
| XYZ | xyz(21.9292, 13.0074, 3.9402) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.40
Dull Red
#BB3F3F
ΔE00 3.77
Scarlet
#BE0119
ΔE00 4.40
Reddish
#C44240
ΔE00 4.58
Brown
#A52A2A
ΔE00 4.99
Lipstick Red
#C0022F
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA332E #2EB5BA
analogous
#BA2E6F #BA332E #BA792E
triadic
#BA332E #2EBA33 #332EBA
tetradic
#BA332E #6FBA2E #2EB5BA #792EBA
square
#BA332E #6FBA2E #2EB5BA #792EBA
split-complementary
#BA332E #2EBA79 #2E6FBA
monochromatic
#581816 #892622 #BA332E #D45651 #E08682
Accessibility & contrast
On white
5.83
#BA332E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#BA332E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA332E
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA332E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA332E | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B522C
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba332e; /* rgb */ color: rgb(186, 51, 46); /* oklch */ color: oklch(52.7% 0.173 27.1);
Tailwind
colors: {
custom: {
50: '#d77467',
500: '#ba332e',
950: '#000000',
},
}SCSS
$custom: #ba332e; $custom-light: #d77467; $custom-dark: #000000;
JSON
{
"hex": "#ba332e",
"rgb": {
"r": 186,
"g": 51,
"b": 46
},
"hsl": {
"h": 2.143,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.5272,
"c": 0.1727,
"h": 27.1
},
"luminance": 0.13004
}Semantic roles & 50–950 ramp
primary
#BA332E
secondary
#7BC6C9
accent
#DEE344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A