#BA332A#BA332A
#BA332A is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.7% C 0.173 H 28.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #BA332A |
|---|---|
| RGB | rgb(186, 51, 42) |
| HSL | hsl(4, 63%, 45%) |
| HSV | hsv(4, 77%, 73%) |
| CMYK | cmyk(0%, 72.6%, 77.4%, 27.1%) |
| CIE-LAB | lab(42.73, 53.17, 37.40) |
| CIE-LCH | lch(42.73, 65.01, 35.12°) |
| OKLab | oklab(52.67% 0.1525 0.0824) |
| OKLCH | oklch(52.67% 0.173 28.4) |
| XYZ | xyz(21.8540, 12.9773, 3.5442) |
| Luminance | 0.1297 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.36
Scarlet
#BE0119
ΔE00 4.16
Dull Red
#BB3F3F
ΔE00 4.73
Reddish
#C44240
ΔE00 5.25
Brown
#A52A2A
ΔE00 5.39
Brick
#A03623
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA332A #2AB1BA
analogous
#BA2A69 #BA332A #BA7B2A
triadic
#BA332A #2ABA33 #332ABA
tetradic
#BA332A #69BA2A #2AB1BA #7B2ABA
square
#BA332A #69BA2A #2AB1BA #7B2ABA
split-complementary
#BA332A #2ABA7B #2A69BA
monochromatic
#561813 #88251F #BA332A #D6544B #E2837D
Accessibility & contrast
On white
5.84
#BA332A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BA332A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA332A
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA332A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA332A | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5228
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba332a; /* rgb */ color: rgb(186, 51, 42); /* oklch */ color: oklch(52.7% 0.173 28.4);
Tailwind
colors: {
custom: {
50: '#d87464',
500: '#ba332a',
950: '#000000',
},
}SCSS
$custom: #ba332a; $custom-light: #d87464; $custom-dark: #000000;
JSON
{
"hex": "#ba332a",
"rgb": {
"r": 186,
"g": 51,
"b": 42
},
"hsl": {
"h": 3.75,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52672,
"c": 0.17328,
"h": 28.4
},
"luminance": 0.12974
}Semantic roles & 50–950 ramp
primary
#BA332A
secondary
#76C5CA
accent
#DCE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A