#BA3A33#BA3A33
#BA3A33 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.5% C 0.166 H 27.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3A33 |
|---|---|
| RGB | rgb(186, 58, 51) |
| HSL | hsl(3, 57%, 46%) |
| HSV | hsv(3, 73%, 73%) |
| CMYK | cmyk(0%, 68.8%, 72.6%, 27.1%) |
| CIE-LAB | lab(43.81, 50.87, 33.47) |
| CIE-LCH | lch(43.81, 60.89, 33.34°) |
| OKLab | oklab(53.52% 0.1471 0.076) |
| OKLCH | oklch(53.52% 0.166 27.3) |
| XYZ | xyz(22.3628, 13.7075, 4.5996) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.93
Reddish
#C44240
ΔE00 3.59
Firebrick
#B22222
ΔE00 4.55
Scarlet
#BE0119
ΔE00 5.61
Brown
#A52A2A
ΔE00 5.73
Cardinal
#C41E3A
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3A33 #33B3BA
analogous
#BA3370 #BA3A33 #BA7E33
triadic
#BA3A33 #33BA3A #3A33BA
tetradic
#BA3A33 #70BA33 #33B3BA #7E33BA
square
#BA3A33 #70BA33 #33B3BA #7E33BA
split-complementary
#BA3A33 #33BA7E #3370BA
monochromatic
#5A1C19 #8A2B26 #BA3A33 #D15F59 #DF8D89
Accessibility & contrast
On white
5.61
#BA3A33 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#BA3A33 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3A33
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3A33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3A33 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5631
Deuteranopia (green-blind)
#7E722F
Tritanopia (blue-blind)
#CD113A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3a33; /* rgb */ color: rgb(186, 58, 51); /* oklch */ color: oklch(53.5% 0.166 27.3);
Tailwind
colors: {
custom: {
50: '#d7786b',
500: '#ba3a33',
950: '#000000',
},
}SCSS
$custom: #ba3a33; $custom-light: #d7786b; $custom-dark: #000000;
JSON
{
"hex": "#ba3a33",
"rgb": {
"r": 186,
"g": 58,
"b": 51
},
"hsl": {
"h": 3.111,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.53515,
"c": 0.16556,
"h": 27.3
},
"luminance": 0.13704
}Semantic roles & 50–950 ramp
primary
#BA3A33
secondary
#80C5C9
accent
#D8E048
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A