#BA2E2E#BA2E2E
#BA2E2E is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.3% C 0.177 H 25.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E2E |
|---|---|
| RGB | rgb(186, 46, 46) |
| HSL | hsl(0, 60%, 45%) |
| HSV | hsv(0, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 75.3%, 27.1%) |
| CIE-LAB | lab(42.14, 55.08, 34.48) |
| CIE-LCH | lch(42.14, 64.98, 32.05°) |
| OKLab | oklab(52.25% 0.1593 0.0771) |
| OKLCH | oklch(52.25% 0.177 25.8) |
| XYZ | xyz(21.7224, 12.5937, 3.8713) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.02
Dull Red
#BB3F3F
ΔE00 3.78
Scarlet
#BE0119
ΔE00 4.08
Brown
#A52A2A
ΔE00 4.43
Lipstick Red
#C0022F
ΔE00 4.56
Reddish
#C44240
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E2E #2EBABA
analogous
#BA2E74 #BA2E2E #BA742E
triadic
#BA2E2E #2EBA2E #2E2EBA
tetradic
#BA2E2E #74BA2E #2EBABA #742EBA
square
#BA2E2E #74BA2E #2EBABA #742EBA
split-complementary
#BA2E2E #2EBA74 #2E74BA
monochromatic
#581616 #892222 #BA2E2E #D45151 #E08282
Accessibility & contrast
On white
5.97
#BA2E2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#BA2E2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E2E
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E2E | 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)
#58502C
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2e2e; /* rgb */ color: rgb(186, 46, 46); /* oklch */ color: oklch(52.3% 0.177 25.8);
Tailwind
colors: {
custom: {
50: '#d87267',
500: '#ba2e2e',
950: '#000000',
},
}SCSS
$custom: #ba2e2e; $custom-light: #d87267; $custom-dark: #000000;
JSON
{
"hex": "#ba2e2e",
"rgb": {
"r": 186,
"g": 46,
"b": 46
},
"hsl": {
"h": 0,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52251,
"c": 0.17696,
"h": 25.8
},
"luminance": 0.1259
}Semantic roles & 50–950 ramp
primary
#BA2E2E
secondary
#7BC9C9
accent
#E3E344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A