#BA2A26#BA2A26
#BA2A26 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.8% C 0.181 H 27.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A26 |
|---|---|
| RGB | rgb(186, 42, 38) |
| HSL | hsl(2, 66%, 44%) |
| HSV | hsv(2, 80%, 73%) |
| CMYK | cmyk(0%, 77.4%, 79.6%, 27.1%) |
| CIE-LAB | lab(41.59, 56.08, 38.44) |
| CIE-LCH | lch(41.59, 67.99, 34.43°) |
| OKLab | oklab(51.81% 0.1608 0.0834) |
| OKLCH | oklch(51.81% 0.181 27.4) |
| XYZ | xyz(21.4301, 12.2384, 3.0672) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.22
Scarlet
#BE0119
ΔE00 2.89
Brown
#A52A2A
ΔE00 4.72
Dull Red
#BB3F3F
ΔE00 5.35
Brick
#A03623
ΔE00 5.41
Lipstick Red
#C0022F
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A26 #26B6BA
analogous
#BA266C #BA2A26 #BA7426
triadic
#BA2A26 #26BA2A #2A26BA
tetradic
#BA2A26 #6CBA26 #26B6BA #7426BA
square
#BA2A26 #6CBA26 #26B6BA #7426BA
split-complementary
#BA2A26 #26BA74 #266CBA
monochromatic
#541311 #871F1C #BA2A26 #D94844 #E37A77
Accessibility & contrast
On white
6.09
#BA2A26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#BA2A26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A26
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A26 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E24
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#CD002B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2a26; /* rgb */ color: rgb(186, 42, 38); /* oklch */ color: oklch(51.8% 0.181 27.4);
Tailwind
colors: {
custom: {
50: '#d87061',
500: '#ba2a26',
950: '#000000',
},
}SCSS
$custom: #ba2a26; $custom-light: #d87061; $custom-dark: #000000;
JSON
{
"hex": "#ba2a26",
"rgb": {
"r": 186,
"g": 42,
"b": 38
},
"hsl": {
"h": 1.622,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.51812,
"c": 0.18112,
"h": 27.4
},
"luminance": 0.12235
}Semantic roles & 50–950 ramp
primary
#BA2A26
secondary
#71C8CB
accent
#E4E93F
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#170805
muted
#857B79