#BA3A2A#BA3A2A
#BA3A2A is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.167 H 30.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3A2A |
|---|---|
| RGB | rgb(186, 58, 42) |
| HSL | hsl(7, 63%, 45%) |
| HSV | hsv(7, 77%, 73%) |
| CMYK | cmyk(0%, 68.8%, 77.4%, 27.1%) |
| CIE-LAB | lab(43.71, 50.49, 38.43) |
| CIE-LCH | lch(43.71, 63.45, 37.28°) |
| OKLab | oklab(53.4% 0.1441 0.0846) |
| OKLCH | oklch(53.4% 0.167 30.4) |
| XYZ | xyz(22.1832, 13.6357, 3.6539) |
| Luminance | 0.1363 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 4.77
Dull Red
#BB3F3F
ΔE00 5.43
Scarlet
#BE0119
ΔE00 5.44
Brick
#A03623
ΔE00 5.48
Reddish
#C44240
ΔE00 5.51
Rusty Red
#AF2F0D
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3A2A #2AAABA
analogous
#BA2A62 #BA3A2A #BA822A
triadic
#BA3A2A #2ABA3A #3A2ABA
tetradic
#BA3A2A #62BA2A #2AAABA #822ABA
square
#BA3A2A #62BA2A #2AAABA #822ABA
split-complementary
#BA3A2A #2ABA82 #2A62BA
monochromatic
#561B13 #882A1F #BA3A2A #D65A4B #E2887D
Accessibility & contrast
On white
5.64
#BA3A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#BA3A2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3A2A
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3A2A | 1.00 | 5.64 | 3.73 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5527
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#CD0E37
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3a2a; /* rgb */ color: rgb(186, 58, 42); /* oklch */ color: oklch(53.4% 0.167 30.4);
Tailwind
colors: {
custom: {
50: '#d77865',
500: '#ba3a2a',
950: '#000000',
},
}SCSS
$custom: #ba3a2a; $custom-light: #d77865; $custom-dark: #000000;
JSON
{
"hex": "#ba3a2a",
"rgb": {
"r": 186,
"g": 58,
"b": 42
},
"hsl": {
"h": 6.667,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53403,
"c": 0.16707,
"h": 30.4
},
"luminance": 0.13632
}Semantic roles & 50–950 ramp
primary
#BA3A2A
secondary
#76C1CA
accent
#D4E642
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160905
muted
#847B7A