#BA3940#BA3940
#BA3940 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.6% C 0.165 H 21.8°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3940 |
|---|---|
| RGB | rgb(186, 57, 64) |
| HSL | hsl(357, 53%, 48%) |
| HSV | hsv(357, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 65.6%, 27.1%) |
| CIE-LAB | lab(43.86, 51.95, 25.81) |
| CIE-LCH | lch(43.86, 58.00, 26.42°) |
| OKLab | oklab(53.61% 0.1532 0.0612) |
| OKLCH | oklch(53.61% 0.165 21.8) |
| XYZ | xyz(22.6406, 13.7388, 6.3092) |
| Luminance | 0.1374 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.90
Cardinal
#C41E3A
ΔE00 3.29
Dusty Red
#B9484E
ΔE00 3.48
Reddish
#C44240
ΔE00 3.77
Cherry (survey)
#CF0234
ΔE00 4.73
Lipstick Red
#C0022F
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3940 #39BAB3
analogous
#BA3981 #BA3940 #BA7239
triadic
#BA3940 #40BA39 #3940BA
tetradic
#BA3940 #81BA39 #39BAB3 #7239BA
square
#BA3940 #81BA39 #39BAB3 #7239BA
split-complementary
#BA3940 #39BA72 #3981BA
monochromatic
#5C1C20 #8B2B30 #BA3940 #CF6167 #DD9094
Accessibility & contrast
On white
5.60
#BA3940 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#BA3940 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3940
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3940 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C563F
Deuteranopia (green-blind)
#7D723C
Tritanopia (blue-blind)
#CC143D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3940; /* rgb */ color: rgb(186, 57, 64); /* oklch */ color: oklch(53.6% 0.165 21.8);
Tailwind
colors: {
custom: {
50: '#d67874',
500: '#ba3940',
950: '#000000',
},
}SCSS
$custom: #ba3940; $custom-light: #d67874; $custom-dark: #000000;
JSON
{
"hex": "#ba3940",
"rgb": {
"r": 186,
"g": 57,
"b": 64
},
"hsl": {
"h": 356.744,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.5361,
"c": 0.16494,
"h": 21.8
},
"luminance": 0.13736
}Semantic roles & 50–950 ramp
primary
#BA3940
secondary
#87C8C4
accent
#DCD54B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160908
muted
#847B7B