#BA3136#BA3136
#BA3136 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.173 H 23.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3136 |
|---|---|
| RGB | rgb(186, 49, 54) |
| HSL | hsl(358, 58%, 46%) |
| HSV | hsv(358, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 71%, 27.1%) |
| CIE-LAB | lab(42.62, 54.40, 30.31) |
| CIE-LCH | lch(42.62, 62.27, 29.13°) |
| OKLab | oklab(52.64% 0.1589 0.0697) |
| OKLCH | oklch(52.64% 0.173 23.7) |
| XYZ | xyz(22.0163, 12.9054, 4.8210) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.57
Cardinal
#C41E3A
ΔE00 3.43
Lipstick Red
#C0022F
ΔE00 3.82
Cherry (survey)
#CF0234
ΔE00 4.21
Reddish
#C44240
ΔE00 4.23
Firebrick
#B22222
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3136 #31BAB5
analogous
#BA317A #BA3136 #BA7031
triadic
#BA3136 #36BA31 #3136BA
tetradic
#BA3136 #7ABA31 #31BAB5 #7031BA
square
#BA3136 #7ABA31 #31BAB5 #7031BA
split-complementary
#BA3136 #31BA70 #317ABA
monochromatic
#59171A #8A2428 #BA3136 #D2565A #DF8689
Accessibility & contrast
On white
5.87
#BA3136 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA3136 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3136
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3136 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3136 | 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)
#595235
Deuteranopia (green-blind)
#7B6F31
Tritanopia (blue-blind)
#CD0034
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3136; /* rgb */ color: rgb(186, 49, 54); /* oklch */ color: oklch(52.6% 0.173 23.7);
Tailwind
colors: {
custom: {
50: '#d7746d',
500: '#ba3136',
950: '#000000',
},
}SCSS
$custom: #ba3136; $custom-light: #d7746d; $custom-dark: #000000;
JSON
{
"hex": "#ba3136",
"rgb": {
"r": 186,
"g": 49,
"b": 54
},
"hsl": {
"h": 357.81,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52639,
"c": 0.17348,
"h": 23.7
},
"luminance": 0.12902
}Semantic roles & 50–950 ramp
primary
#BA3136
secondary
#7EC9C6
accent
#E2DC46
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A