#BA3939#BA3939
#BA3939 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.5% C 0.166 H 24.7°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3939 |
|---|---|
| RGB | rgb(186, 57, 57) |
| HSL | hsl(0, 53%, 48%) |
| HSV | hsv(0, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 69.4%, 27.1%) |
| CIE-LAB | lab(43.75, 51.56, 29.87) |
| CIE-LCH | lch(43.75, 59.59, 30.09°) |
| OKLab | oklab(53.49% 0.1505 0.0692) |
| OKLCH | oklch(53.49% 0.166 24.7) |
| XYZ | xyz(22.4538, 13.6640, 5.3252) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.42
Reddish
#C44240
ΔE00 3.08
Cardinal
#C41E3A
ΔE00 4.39
Dusty Red
#B9484E
ΔE00 4.98
Cherry (survey)
#CF0234
ΔE00 5.03
Lipstick Red
#C0022F
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3939 #39BABA
analogous
#BA3979 #BA3939 #BA7939
triadic
#BA3939 #39BA39 #3939BA
tetradic
#BA3939 #79BA39 #39BABA #7939BA
square
#BA3939 #79BA39 #39BABA #7939BA
split-complementary
#BA3939 #39BA79 #3979BA
monochromatic
#5C1C1C #8B2B2B #BA3939 #CF6161 #DD9090
Accessibility & contrast
On white
5.63
#BA3939 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#BA3939 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3939
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3939 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5638
Deuteranopia (green-blind)
#7D7235
Tritanopia (blue-blind)
#CC113B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ba3939; /* rgb */ color: rgb(186, 57, 57); /* oklch */ color: oklch(53.5% 0.166 24.7);
Tailwind
colors: {
custom: {
50: '#d6776f',
500: '#ba3939',
950: '#000000',
},
}SCSS
$custom: #ba3939; $custom-light: #d6776f; $custom-dark: #000000;
JSON
{
"hex": "#ba3939",
"rgb": {
"r": 186,
"g": 57,
"b": 57
},
"hsl": {
"h": 0,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.53494,
"c": 0.16567,
"h": 24.7
},
"luminance": 0.13661
}Semantic roles & 50–950 ramp
primary
#BA3939
secondary
#87C8C8
accent
#DCDC4B
background
#FEF7F6
surface
#FCEEEC
border
#D5C9C7
text
#160907
muted
#847B7A