#BA3839#BA3839
#BA3839 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.4% C 0.167 H 24.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3839 |
|---|---|
| RGB | rgb(186, 56, 57) |
| HSL | hsl(360, 54%, 47%) |
| HSV | hsv(360, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 69.4%, 27.1%) |
| CIE-LAB | lab(43.60, 51.95, 29.70) |
| CIE-LCH | lch(43.60, 59.84, 29.76°) |
| OKLab | oklab(53.39% 0.1518 0.0688) |
| OKLCH | oklch(53.39% 0.167 24.4) |
| XYZ | xyz(22.4048, 13.5661, 5.3089) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.50
Reddish
#C44240
ΔE00 3.23
Cardinal
#C41E3A
ΔE00 4.16
Cherry (survey)
#CF0234
ΔE00 4.86
Lipstick Red
#C0022F
ΔE00 4.94
Dusty Red
#B9484E
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3839 #38BAB9
analogous
#BA387A #BA3839 #BA7838
triadic
#BA3839 #39BA38 #3839BA
tetradic
#BA3839 #7ABA38 #38BAB9 #7838BA
square
#BA3839 #7ABA38 #38BAB9 #7838BA
split-complementary
#BA3839 #38BA78 #387ABA
monochromatic
#5C1C1C #8B2A2B #BA3839 #CF6061 #DD8F90
Accessibility & contrast
On white
5.66
#BA3839 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#BA3839 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3839
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3839 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3839 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5538
Deuteranopia (green-blind)
#7D7135
Tritanopia (blue-blind)
#CC0E3A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3839; /* rgb */ color: rgb(186, 56, 57); /* oklch */ color: oklch(53.4% 0.167 24.4);
Tailwind
colors: {
custom: {
50: '#d6776f',
500: '#ba3839',
950: '#000000',
},
}SCSS
$custom: #ba3839; $custom-light: #d6776f; $custom-dark: #000000;
JSON
{
"hex": "#ba3839",
"rgb": {
"r": 186,
"g": 56,
"b": 57
},
"hsl": {
"h": 359.538,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.53387,
"c": 0.16664,
"h": 24.4
},
"luminance": 0.13563
}Semantic roles & 50–950 ramp
primary
#BA3839
secondary
#86C8C8
accent
#DDDC4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160907
muted
#847B7A