#BA4131#BA4131
#BA4131 is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.3% C 0.159 H 30.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4131 |
|---|---|
| RGB | rgb(186, 65, 49) |
| HSL | hsl(7, 58%, 46%) |
| HSV | hsv(7, 74%, 73%) |
| CMYK | cmyk(0%, 65.1%, 73.7%, 27.1%) |
| CIE-LAB | lab(44.86, 47.86, 35.80) |
| CIE-LCH | lch(44.86, 59.77, 36.80°) |
| OKLab | oklab(54.3% 0.1372 0.0807) |
| OKLCH | oklch(54.3% 0.159 30.4) |
| XYZ | xyz(22.6968, 14.4447, 4.4981) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.53
Dull Red
#BB3F3F
ΔE00 4.70
Firebrick
#B22222
ΔE00 5.86
Brick
#A03623
ΔE00 6.25
Brownish Red
#9E3623
ΔE00 6.61
Scarlet
#BE0119
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4131 #31AABA
analogous
#BA3165 #BA4131 #BA8531
triadic
#BA4131 #31BA41 #4131BA
tetradic
#BA4131 #65BA31 #31AABA #8531BA
square
#BA4131 #65BA31 #31AABA #8531BA
split-complementary
#BA4131 #31BA85 #3165BA
monochromatic
#591F17 #8A3024 #BA4131 #D26456 #DF9186
Accessibility & contrast
On white
5.40
#BA4131 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#BA4131 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4131
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4131 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4131 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63592E
Deuteranopia (green-blind)
#81742D
Tritanopia (blue-blind)
#CC213E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba4131; /* rgb */ color: rgb(186, 65, 49); /* oklch */ color: oklch(54.3% 0.159 30.4);
Tailwind
colors: {
custom: {
50: '#d77c6a',
500: '#ba4131',
950: '#000000',
},
}SCSS
$custom: #ba4131; $custom-light: #d77c6a; $custom-dark: #000000;
JSON
{
"hex": "#ba4131",
"rgb": {
"r": 186,
"g": 65,
"b": 49
},
"hsl": {
"h": 7.007,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.54297,
"c": 0.15917,
"h": 30.4
},
"luminance": 0.14441
}Semantic roles & 50–950 ramp
primary
#BA4131
secondary
#7EC0C9
accent
#CFE246
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160A06
muted
#847C7A