#BA362A#BA362A
#BA362A is a mid, vivid red. Relative luminance 0.132; OKLCH L 53.0% C 0.171 H 29.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA362A |
|---|---|
| RGB | rgb(186, 54, 42) |
| HSL | hsl(5, 63%, 45%) |
| HSV | hsv(5, 77%, 73%) |
| CMYK | cmyk(0%, 71%, 77.4%, 27.1%) |
| CIE-LAB | lab(43.13, 52.06, 37.83) |
| CIE-LCH | lch(43.13, 64.35, 36.01°) |
| OKLab | oklab(52.98% 0.149 0.0833) |
| OKLCH | oklch(52.98% 0.171 29.2) |
| XYZ | xyz(21.9893, 13.2479, 3.5893) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.91
Scarlet
#BE0119
ΔE00 4.65
Dull Red
#BB3F3F
ΔE00 4.96
Reddish
#C44240
ΔE00 5.29
Brick
#A03623
ΔE00 5.38
Brownish Red
#9E3623
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA362A #2AAEBA
analogous
#BA2A66 #BA362A #BA7E2A
triadic
#BA362A #2ABA36 #362ABA
tetradic
#BA362A #66BA2A #2AAEBA #7E2ABA
square
#BA362A #66BA2A #2AAEBA #7E2ABA
split-complementary
#BA362A #2ABA7E #2A66BA
monochromatic
#561913 #88281F #BA362A #D6564B #E2857D
Accessibility & contrast
On white
5.76
#BA362A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#BA362A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA362A
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA362A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA362A | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5327
Deuteranopia (green-blind)
#7D7025
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba362a; /* rgb */ color: rgb(186, 54, 42); /* oklch */ color: oklch(53.0% 0.171 29.2);
Tailwind
colors: {
custom: {
50: '#d77664',
500: '#ba362a',
950: '#000000',
},
}SCSS
$custom: #ba362a; $custom-light: #d77664; $custom-dark: #000000;
JSON
{
"hex": "#ba362a",
"rgb": {
"r": 186,
"g": 54,
"b": 42
},
"hsl": {
"h": 5,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52975,
"c": 0.17066,
"h": 29.2
},
"luminance": 0.13245
}Semantic roles & 50–950 ramp
primary
#BA362A
secondary
#76C3CA
accent
#D8E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A