#BA2E2B#BA2E2B
#BA2E2B is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.2% C 0.177 H 26.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E2B |
|---|---|
| RGB | rgb(186, 46, 43) |
| HSL | hsl(1, 62%, 45%) |
| HSV | hsv(1, 77%, 73%) |
| CMYK | cmyk(0%, 75.3%, 76.9%, 27.1%) |
| CIE-LAB | lab(42.11, 54.96, 36.17) |
| CIE-LCH | lch(42.11, 65.79, 33.35°) |
| OKLab | oklab(52.21% 0.1583 0.08) |
| OKLCH | oklch(52.21% 0.177 26.8) |
| XYZ | xyz(21.6653, 12.5709, 3.5707) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.71
Scarlet
#BE0119
ΔE00 3.66
Dull Red
#BB3F3F
ΔE00 4.35
Brown
#A52A2A
ΔE00 4.61
Reddish
#C44240
ΔE00 5.23
Lipstick Red
#C0022F
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E2B #2BB7BA
analogous
#BA2B6F #BA2E2B #BA762B
triadic
#BA2E2B #2BBA2E #2E2BBA
tetradic
#BA2E2B #6FBA2B #2BB7BA #762BBA
square
#BA2E2B #6FBA2B #2BB7BA #762BBA
split-complementary
#BA2E2B #2BBA76 #2B6FBA
monochromatic
#571514 #882220 #BA2E2B #D64F4C #E1807E
Accessibility & contrast
On white
5.98
#BA2E2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#BA2E2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E2B
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E2B | 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)
#585029
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2e2b; /* rgb */ color: rgb(186, 46, 43); /* oklch */ color: oklch(52.2% 0.177 26.8);
Tailwind
colors: {
custom: {
50: '#d87265',
500: '#ba2e2b',
950: '#000000',
},
}SCSS
$custom: #ba2e2b; $custom-light: #d87265; $custom-dark: #000000;
JSON
{
"hex": "#ba2e2b",
"rgb": {
"r": 186,
"g": 46,
"b": 43
},
"hsl": {
"h": 1.259,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52214,
"c": 0.17734,
"h": 26.8
},
"luminance": 0.12568
}Semantic roles & 50–950 ramp
primary
#BA2E2B
secondary
#77C8CA
accent
#E2E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A