#BA3137#BA3137
#BA3137 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.173 H 23.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3137 |
|---|---|
| RGB | rgb(186, 49, 55) |
| HSL | hsl(357, 58%, 46%) |
| HSV | hsv(357, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 70.4%, 27.1%) |
| CIE-LAB | lab(42.63, 54.45, 29.73) |
| CIE-LCH | lch(42.63, 62.04, 28.64°) |
| OKLab | oklab(52.65% 0.1592 0.0686) |
| OKLCH | oklch(52.65% 0.173 23.3) |
| XYZ | xyz(22.0401, 12.9149, 4.9460) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.54
Cardinal
#C41E3A
ΔE00 3.19
Lipstick Red
#C0022F
ΔE00 3.73
Cherry (survey)
#CF0234
ΔE00 4.11
Reddish
#C44240
ΔE00 4.26
Firebrick
#B22222
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3137 #31BAB4
analogous
#BA317B #BA3137 #BA6F31
triadic
#BA3137 #37BA31 #3137BA
tetradic
#BA3137 #7BBA31 #31BAB4 #6F31BA
square
#BA3137 #7BBA31 #31BAB4 #6F31BA
split-complementary
#BA3137 #31BA6F #317BBA
monochromatic
#59171A #8A2429 #BA3137 #D2565B #DF868A
Accessibility & contrast
On white
5.86
#BA3137 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA3137 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3137
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3137 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3137 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595236
Deuteranopia (green-blind)
#7B6F33
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3137; /* rgb */ color: rgb(186, 49, 55); /* oklch */ color: oklch(52.7% 0.173 23.3);
Tailwind
colors: {
custom: {
50: '#d7746e',
500: '#ba3137',
950: '#000000',
},
}SCSS
$custom: #ba3137; $custom-light: #d7746e; $custom-dark: #000000;
JSON
{
"hex": "#ba3137",
"rgb": {
"r": 186,
"g": 49,
"b": 55
},
"hsl": {
"h": 357.372,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52654,
"c": 0.17338,
"h": 23.3
},
"luminance": 0.12912
}Semantic roles & 50–950 ramp
primary
#BA3137
secondary
#7EC9C6
accent
#E2DB46
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A