#BA2E2C#BA2E2C
#BA2E2C is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.2% C 0.177 H 26.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E2C |
|---|---|
| RGB | rgb(186, 46, 44) |
| HSL | hsl(1, 62%, 45%) |
| HSV | hsv(1, 76%, 73%) |
| CMYK | cmyk(0%, 75.3%, 76.3%, 27.1%) |
| CIE-LAB | lab(42.12, 55.00, 35.61) |
| CIE-LCH | lch(42.12, 65.52, 32.92°) |
| OKLab | oklab(52.23% 0.1586 0.079) |
| OKLCH | oklch(52.23% 0.177 26.5) |
| XYZ | xyz(21.6839, 12.5783, 3.6685) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.79
Scarlet
#BE0119
ΔE00 3.78
Dull Red
#BB3F3F
ΔE00 4.15
Brown
#A52A2A
ΔE00 4.54
Lipstick Red
#C0022F
ΔE00 5.00
Reddish
#C44240
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E2C #2CB8BA
analogous
#BA2C71 #BA2E2C #BA752C
triadic
#BA2E2C #2CBA2E #2E2CBA
tetradic
#BA2E2C #71BA2C #2CB8BA #752CBA
square
#BA2E2C #71BA2C #2CB8BA #752CBA
split-complementary
#BA2E2C #2CBA75 #2C71BA
monochromatic
#571615 #892220 #BA2E2C #D5504E #E18180
Accessibility & contrast
On white
5.97
#BA2E2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#BA2E2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E2C
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E2C | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58502A
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2e2c; /* rgb */ color: rgb(186, 46, 44); /* oklch */ color: oklch(52.2% 0.177 26.5);
Tailwind
colors: {
custom: {
50: '#d87266',
500: '#ba2e2c',
950: '#000000',
},
}SCSS
$custom: #ba2e2c; $custom-light: #d87266; $custom-dark: #000000;
JSON
{
"hex": "#ba2e2c",
"rgb": {
"r": 186,
"g": 46,
"b": 44
},
"hsl": {
"h": 0.845,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.52226,
"c": 0.17721,
"h": 26.5
},
"luminance": 0.12575
}Semantic roles & 50–950 ramp
primary
#BA2E2C
secondary
#78C8CA
accent
#E3E543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A