#BA3A26#BA3A26
#BA3A26 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.168 H 31.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3A26 |
|---|---|
| RGB | rgb(186, 58, 38) |
| HSL | hsl(8, 66%, 44%) |
| HSV | hsv(8, 80%, 73%) |
| CMYK | cmyk(0%, 68.8%, 79.6%, 27.1%) |
| CIE-LAB | lab(43.67, 50.35, 40.54) |
| CIE-LCH | lch(43.67, 64.64, 38.84°) |
| OKLab | oklab(53.36% 0.1428 0.088) |
| OKLCH | oklch(53.36% 0.168 31.6) |
| XYZ | xyz(22.1152, 13.6085, 3.2956) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 4.86
Firebrick
#B22222
ΔE00 5.26
Brick
#A03623
ΔE00 5.43
Scarlet
#BE0119
ΔE00 5.75
Brownish Red
#9E3623
ΔE00 5.83
Rust Red
#AA2704
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3A26 #26A6BA
analogous
#BA265C #BA3A26 #BA8426
triadic
#BA3A26 #26BA3A #3A26BA
tetradic
#BA3A26 #5CBA26 #26A6BA #8426BA
square
#BA3A26 #5CBA26 #26A6BA #8426BA
split-complementary
#BA3A26 #26BA84 #265CBA
monochromatic
#541A11 #872A1C #BA3A26 #D95844 #E38677
Accessibility & contrast
On white
5.64
#BA3A26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#BA3A26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3A26
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3A26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3A26 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5523
Deuteranopia (green-blind)
#7F7220
Tritanopia (blue-blind)
#CD0C36
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3a26; /* rgb */ color: rgb(186, 58, 38); /* oklch */ color: oklch(53.4% 0.168 31.6);
Tailwind
colors: {
custom: {
50: '#d87862',
500: '#ba3a26',
950: '#000000',
},
}SCSS
$custom: #ba3a26; $custom-light: #d87862; $custom-dark: #000000;
JSON
{
"hex": "#ba3a26",
"rgb": {
"r": 186,
"g": 58,
"b": 38
},
"hsl": {
"h": 8.108,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.5336,
"c": 0.16778,
"h": 31.6
},
"luminance": 0.13605
}Semantic roles & 50–950 ramp
primary
#BA3A26
secondary
#71BFCB
accent
#D2E93F
background
#FEF7F5
surface
#FDEEEA
border
#D5C9C6
text
#160905
muted
#847B79