#BA3731#BA3731
#BA3731 is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.2% C 0.169 H 27.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3731 |
|---|---|
| RGB | rgb(186, 55, 49) |
| HSL | hsl(3, 58%, 46%) |
| HSV | hsv(3, 74%, 73%) |
| CMYK | cmyk(0%, 70.4%, 73.7%, 27.1%) |
| CIE-LAB | lab(43.35, 51.96, 34.10) |
| CIE-LCH | lch(43.35, 62.15, 33.28°) |
| OKLab | oklab(53.17% 0.1501 0.077) |
| OKLCH | oklch(53.17% 0.169 27.1) |
| XYZ | xyz(22.1728, 13.3966, 4.3234) |
| Luminance | 0.1339 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.22
Reddish
#C44240
ΔE00 3.98
Firebrick
#B22222
ΔE00 4.05
Scarlet
#BE0119
ΔE00 5.09
Brown
#A52A2A
ΔE00 5.36
Cardinal
#C41E3A
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3731 #31B4BA
analogous
#BA316F #BA3731 #BA7B31
triadic
#BA3731 #31BA37 #3731BA
tetradic
#BA3731 #6FBA31 #31B4BA #7B31BA
square
#BA3731 #6FBA31 #31B4BA #7B31BA
split-complementary
#BA3731 #31BA7B #316FBA
monochromatic
#591A17 #8A2924 #BA3731 #D25B56 #DF8A86
Accessibility & contrast
On white
5.71
#BA3731 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#BA3731 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3731
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3731 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3731 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D542F
Deuteranopia (green-blind)
#7D712C
Tritanopia (blue-blind)
#CD0537
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba3731; /* rgb */ color: rgb(186, 55, 49); /* oklch */ color: oklch(53.2% 0.169 27.1);
Tailwind
colors: {
custom: {
50: '#d77669',
500: '#ba3731',
950: '#000000',
},
}SCSS
$custom: #ba3731; $custom-light: #d77669; $custom-dark: #000000;
JSON
{
"hex": "#ba3731",
"rgb": {
"r": 186,
"g": 55,
"b": 49
},
"hsl": {
"h": 2.628,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.53166,
"c": 0.16867,
"h": 27.1
},
"luminance": 0.13393
}Semantic roles & 50–950 ramp
primary
#BA3731
secondary
#7EC6C9
accent
#DBE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A