#BA3A28#BA3A28
#BA3A28 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.167 H 31.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3A28 |
|---|---|
| RGB | rgb(186, 58, 40) |
| HSL | hsl(7, 65%, 44%) |
| HSV | hsv(7, 78%, 73%) |
| CMYK | cmyk(0%, 68.8%, 78.5%, 27.1%) |
| CIE-LAB | lab(43.69, 50.42, 39.50) |
| CIE-LCH | lch(43.69, 64.05, 38.07°) |
| OKLab | oklab(53.38% 0.1434 0.0864) |
| OKLCH | oklch(53.38% 0.167 31) |
| XYZ | xyz(22.1483, 13.6217, 3.4701) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 5.00
Rusty Red
#AF2F0D
ΔE00 5.26
Brick
#A03623
ΔE00 5.43
Scarlet
#BE0119
ΔE00 5.57
Brownish Red
#9E3623
ΔE00 5.82
Dull Red
#BB3F3F
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3A28 #28A8BA
analogous
#BA285F #BA3A28 #BA8328
triadic
#BA3A28 #28BA3A #3A28BA
tetradic
#BA3A28 #5FBA28 #28A8BA #8328BA
square
#BA3A28 #5FBA28 #28A8BA #8328BA
split-complementary
#BA3A28 #28BA83 #285FBA
monochromatic
#551B12 #882A1D #BA3A28 #D85948 #E2877A
Accessibility & contrast
On white
5.64
#BA3A28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#BA3A28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3A28
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3A28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3A28 | 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)
#5F5525
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#CD0D37
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3a28; /* rgb */ color: rgb(186, 58, 40); /* oklch */ color: oklch(53.4% 0.167 31.0);
Tailwind
colors: {
custom: {
50: '#d77863',
500: '#ba3a28',
950: '#000000',
},
}SCSS
$custom: #ba3a28; $custom-light: #d77863; $custom-dark: #000000;
JSON
{
"hex": "#ba3a28",
"rgb": {
"r": 186,
"g": 58,
"b": 40
},
"hsl": {
"h": 7.397,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.53381,
"c": 0.16742,
"h": 31
},
"luminance": 0.13618
}Semantic roles & 50–950 ramp
primary
#BA3A28
secondary
#73C0CA
accent
#D3E840
background
#FEF7F6
surface
#FDEEEB
border
#D5C9C6
text
#160905
muted
#847B7A