#BA2E2A#BA2E2A
#BA2E2A is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.2% C 0.177 H 27.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E2A |
|---|---|
| RGB | rgb(186, 46, 42) |
| HSL | hsl(2, 63%, 45%) |
| HSV | hsv(2, 77%, 73%) |
| CMYK | cmyk(0%, 75.3%, 77.4%, 27.1%) |
| CIE-LAB | lab(42.10, 54.92, 36.73) |
| CIE-LCH | lch(42.10, 66.07, 33.77°) |
| OKLab | oklab(52.2% 0.158 0.0809) |
| OKLCH | oklch(52.2% 0.177 27.1) |
| XYZ | xyz(21.6472, 12.5637, 3.4753) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.67
Scarlet
#BE0119
ΔE00 3.56
Dull Red
#BB3F3F
ΔE00 4.56
Brown
#A52A2A
ΔE00 4.71
Reddish
#C44240
ΔE00 5.37
Lipstick Red
#C0022F
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E2A #2AB6BA
analogous
#BA2A6E #BA2E2A #BA762A
triadic
#BA2E2A #2ABA2E #2E2ABA
tetradic
#BA2E2A #6EBA2A #2AB6BA #762ABA
square
#BA2E2A #6EBA2A #2AB6BA #762ABA
split-complementary
#BA2E2A #2ABA76 #2A6EBA
monochromatic
#561513 #88221F #BA2E2A #D64F4B #E2807D
Accessibility & contrast
On white
5.98
#BA2E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#BA2E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E2A
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E2A | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2e2a; /* rgb */ color: rgb(186, 46, 42); /* oklch */ color: oklch(52.2% 0.177 27.1);
Tailwind
colors: {
custom: {
50: '#d87264',
500: '#ba2e2a',
950: '#000000',
},
}SCSS
$custom: #ba2e2a; $custom-light: #d87264; $custom-dark: #000000;
JSON
{
"hex": "#ba2e2a",
"rgb": {
"r": 186,
"g": 46,
"b": 42
},
"hsl": {
"h": 1.667,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52202,
"c": 0.17747,
"h": 27.1
},
"luminance": 0.1256
}Semantic roles & 50–950 ramp
primary
#BA2E2A
secondary
#76C8CA
accent
#E2E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A