#BA3A31#BA3A31
#BA3A31 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.5% C 0.166 H 28.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3A31 |
|---|---|
| RGB | rgb(186, 58, 49) |
| HSL | hsl(4, 58%, 46%) |
| HSV | hsv(4, 74%, 73%) |
| CMYK | cmyk(0%, 68.8%, 73.7%, 27.1%) |
| CIE-LAB | lab(43.79, 50.78, 34.59) |
| CIE-LCH | lch(43.79, 61.44, 34.26°) |
| OKLab | oklab(53.49% 0.1464 0.078) |
| OKLCH | oklch(53.49% 0.166 28.1) |
| XYZ | xyz(22.3196, 13.6903, 4.3724) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.50
Reddish
#C44240
ΔE00 3.96
Firebrick
#B22222
ΔE00 4.47
Scarlet
#BE0119
ΔE00 5.46
Brown
#A52A2A
ΔE00 5.86
Brick
#A03623
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3A31 #31B1BA
analogous
#BA316C #BA3A31 #BA7E31
triadic
#BA3A31 #31BA3A #3A31BA
tetradic
#BA3A31 #6CBA31 #31B1BA #7E31BA
square
#BA3A31 #6CBA31 #31B1BA #7E31BA
split-complementary
#BA3A31 #31BA7E #316CBA
monochromatic
#591C17 #8A2B24 #BA3A31 #D25E56 #DF8C86
Accessibility & contrast
On white
5.62
#BA3A31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#BA3A31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3A31
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3A31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3A31 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E562F
Deuteranopia (green-blind)
#7E722D
Tritanopia (blue-blind)
#CD1139
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3a31; /* rgb */ color: rgb(186, 58, 49); /* oklch */ color: oklch(53.5% 0.166 28.1);
Tailwind
colors: {
custom: {
50: '#d7786a',
500: '#ba3a31',
950: '#000000',
},
}SCSS
$custom: #ba3a31; $custom-light: #d7786a; $custom-dark: #000000;
JSON
{
"hex": "#ba3a31",
"rgb": {
"r": 186,
"g": 58,
"b": 49
},
"hsl": {
"h": 3.942,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53488,
"c": 0.16587,
"h": 28.1
},
"luminance": 0.13687
}Semantic roles & 50–950 ramp
primary
#BA3A31
secondary
#7EC4C9
accent
#D7E246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160906
muted
#847B7A