#BA3031#BA3031
#BA3031 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.175 H 25.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3031 |
|---|---|
| RGB | rgb(186, 48, 49) |
| HSL | hsl(360, 59%, 46%) |
| HSV | hsv(360, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 73.7%, 27.1%) |
| CIE-LAB | lab(42.43, 54.52, 33.05) |
| CIE-LCH | lch(42.43, 63.75, 31.23°) |
| OKLab | oklab(52.47% 0.1582 0.0747) |
| OKLCH | oklch(52.47% 0.175 25.3) |
| XYZ | xyz(21.8635, 12.7781, 4.2203) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.20
Firebrick
#B22222
ΔE00 3.56
Lipstick Red
#C0022F
ΔE00 4.36
Reddish
#C44240
ΔE00 4.47
Cardinal
#C41E3A
ΔE00 4.54
Brown
#A52A2A
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3031 #30BAB9
analogous
#BA3076 #BA3031 #BA7430
triadic
#BA3031 #31BA30 #3031BA
tetradic
#BA3031 #76BA30 #30BAB9 #7430BA
square
#BA3031 #76BA30 #30BAB9 #7430BA
split-complementary
#BA3031 #30BA74 #3076BA
monochromatic
#591717 #892324 #BA3031 #D35455 #DF8586
Accessibility & contrast
On white
5.91
#BA3031 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#BA3031 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3031
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3031 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3031 | 1.00 | 5.91 | 3.56 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512F
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3031; /* rgb */ color: rgb(186, 48, 49); /* oklch */ color: oklch(52.5% 0.175 25.3);
Tailwind
colors: {
custom: {
50: '#d77369',
500: '#ba3031',
950: '#000000',
},
}SCSS
$custom: #ba3031; $custom-light: #d77369; $custom-dark: #000000;
JSON
{
"hex": "#ba3031",
"rgb": {
"r": 186,
"g": 48,
"b": 49
},
"hsl": {
"h": 359.565,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52473,
"c": 0.17491,
"h": 25.3
},
"luminance": 0.12775
}Semantic roles & 50–950 ramp
primary
#BA3031
secondary
#7DC9C8
accent
#E2E146
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A