#BA382A#BA382A
#BA382A is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.2% C 0.169 H 29.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #BA382A |
|---|---|
| RGB | rgb(186, 56, 42) |
| HSL | hsl(6, 63%, 45%) |
| HSV | hsv(6, 77%, 73%) |
| CMYK | cmyk(0%, 69.9%, 77.4%, 27.1%) |
| CIE-LAB | lab(43.42, 51.28, 38.12) |
| CIE-LCH | lch(43.42, 63.90, 36.63°) |
| OKLab | oklab(53.19% 0.1465 0.084) |
| OKLCH | oklch(53.19% 0.169 29.8) |
| XYZ | xyz(22.0843, 13.4379, 3.6210) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 4.32
Scarlet
#BE0119
ΔE00 5.03
Dull Red
#BB3F3F
ΔE00 5.17
Reddish
#C44240
ΔE00 5.37
Brick
#A03623
ΔE00 5.40
Brownish Red
#9E3623
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA382A #2AACBA
analogous
#BA2A64 #BA382A #BA802A
triadic
#BA382A #2ABA38 #382ABA
tetradic
#BA382A #64BA2A #2AACBA #802ABA
square
#BA382A #64BA2A #2AACBA #802ABA
split-complementary
#BA382A #2ABA80 #2A64BA
monochromatic
#561A13 #88291F #BA382A #D6584B #E2877D
Accessibility & contrast
On white
5.70
#BA382A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#BA382A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA382A
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA382A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA382A | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5427
Deuteranopia (green-blind)
#7E7125
Tritanopia (blue-blind)
#CD0636
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba382a; /* rgb */ color: rgb(186, 56, 42); /* oklch */ color: oklch(53.2% 0.169 29.8);
Tailwind
colors: {
custom: {
50: '#d77765',
500: '#ba382a',
950: '#000000',
},
}SCSS
$custom: #ba382a; $custom-light: #d77765; $custom-dark: #000000;
JSON
{
"hex": "#ba382a",
"rgb": {
"r": 186,
"g": 56,
"b": 42
},
"hsl": {
"h": 5.833,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53186,
"c": 0.16887,
"h": 29.8
},
"luminance": 0.13435
}Semantic roles & 50–950 ramp
primary
#BA382A
secondary
#76C2CA
accent
#D6E642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160905
muted
#847B7A