#BA382B#BA382B
#BA382B is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.2% C 0.169 H 29.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA382B |
|---|---|
| RGB | rgb(186, 56, 43) |
| HSL | hsl(5, 62%, 45%) |
| HSV | hsv(5, 77%, 73%) |
| CMYK | cmyk(0%, 69.9%, 76.9%, 27.1%) |
| CIE-LAB | lab(43.43, 51.32, 37.58) |
| CIE-LCH | lch(43.43, 63.61, 36.22°) |
| OKLab | oklab(53.2% 0.1469 0.0831) |
| OKLCH | oklch(53.2% 0.169 29.5) |
| XYZ | xyz(22.1024, 13.4452, 3.7164) |
| Luminance | 0.1344 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 4.25
Dull Red
#BB3F3F
ΔE00 4.91
Scarlet
#BE0119
ΔE00 5.00
Reddish
#C44240
ΔE00 5.16
Brick
#A03623
ΔE00 5.46
Brownish Red
#9E3623
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA382B #2BADBA
analogous
#BA2B65 #BA382B #BA802B
triadic
#BA382B #2BBA38 #382BBA
tetradic
#BA382B #65BA2B #2BADBA #802BBA
square
#BA382B #65BA2B #2BADBA #802BBA
split-complementary
#BA382B #2BBA80 #2B65BA
monochromatic
#571A14 #882920 #BA382B #D6594C #E1877E
Accessibility & contrast
On white
5.69
#BA382B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#BA382B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA382B
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA382B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA382B | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5428
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#CD0636
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba382b; /* rgb */ color: rgb(186, 56, 43); /* oklch */ color: oklch(53.2% 0.169 29.5);
Tailwind
colors: {
custom: {
50: '#d77765',
500: '#ba382b',
950: '#000000',
},
}SCSS
$custom: #ba382b; $custom-light: #d77765; $custom-dark: #000000;
JSON
{
"hex": "#ba382b",
"rgb": {
"r": 186,
"g": 56,
"b": 43
},
"hsl": {
"h": 5.455,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.53197,
"c": 0.16871,
"h": 29.5
},
"luminance": 0.13442
}Semantic roles & 50–950 ramp
primary
#BA382B
secondary
#77C2CA
accent
#D7E642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160906
muted
#847B7A