#BA3133#BA3133
#BA3133 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.174 H 24.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3133 |
|---|---|
| RGB | rgb(186, 49, 51) |
| HSL | hsl(359, 58%, 46%) |
| HSV | hsv(359, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 72.6%, 27.1%) |
| CIE-LAB | lab(42.58, 54.26, 32.05) |
| CIE-LCH | lch(42.58, 63.02, 30.57°) |
| OKLab | oklab(52.6% 0.1578 0.0729) |
| OKLCH | oklch(52.6% 0.174 24.8) |
| XYZ | xyz(21.9480, 12.8781, 4.4614) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.85
Firebrick
#B22222
ΔE00 3.94
Cardinal
#C41E3A
ΔE00 4.18
Lipstick Red
#C0022F
ΔE00 4.22
Reddish
#C44240
ΔE00 4.25
Cherry (survey)
#CF0234
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3133 #31BAB8
analogous
#BA3177 #BA3133 #BA7331
triadic
#BA3133 #33BA31 #3133BA
tetradic
#BA3133 #77BA31 #31BAB8 #7331BA
square
#BA3133 #77BA31 #31BAB8 #7331BA
split-complementary
#BA3133 #31BA73 #3177BA
monochromatic
#591718 #8A2426 #BA3133 #D25658 #DF8688
Accessibility & contrast
On white
5.87
#BA3133 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA3133 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3133
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3133 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3133 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595232
Deuteranopia (green-blind)
#7B6F2E
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3133; /* rgb */ color: rgb(186, 49, 51); /* oklch */ color: oklch(52.6% 0.174 24.8);
Tailwind
colors: {
custom: {
50: '#d7746b',
500: '#ba3133',
950: '#000000',
},
}SCSS
$custom: #ba3133; $custom-light: #d7746b; $custom-dark: #000000;
JSON
{
"hex": "#ba3133",
"rgb": {
"r": 186,
"g": 49,
"b": 51
},
"hsl": {
"h": 359.124,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52595,
"c": 0.17381,
"h": 24.8
},
"luminance": 0.12875
}Semantic roles & 50–950 ramp
primary
#BA3133
secondary
#7EC9C8
accent
#E2DF46
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A