#BA3538#BA3538
#BA3538 is a mid, vivid red. Relative luminance 0.133; OKLCH L 53.1% C 0.170 H 23.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3538 |
|---|---|
| RGB | rgb(186, 53, 56) |
| HSL | hsl(359, 56%, 47%) |
| HSV | hsv(359, 72%, 73%) |
| CMYK | cmyk(0%, 71.5%, 69.9%, 27.1%) |
| CIE-LAB | lab(43.17, 53.05, 29.78) |
| CIE-LCH | lch(43.17, 60.83, 29.31°) |
| OKLab | oklab(53.06% 0.155 0.0689) |
| OKLCH | oklch(53.06% 0.17 23.9) |
| XYZ | xyz(22.2390, 13.2741, 5.1318) |
| Luminance | 0.1327 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.94
Reddish
#C44240
ΔE00 3.67
Cardinal
#C41E3A
ΔE00 3.73
Lipstick Red
#C0022F
ΔE00 4.41
Cherry (survey)
#CF0234
ΔE00 4.51
Firebrick
#B22222
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3538 #35BAB7
analogous
#BA357A #BA3538 #BA7535
triadic
#BA3538 #38BA35 #3538BA
tetradic
#BA3538 #7ABA35 #35BAB7 #7535BA
square
#BA3538 #7ABA35 #35BAB7 #7535BA
split-complementary
#BA3538 #35BA75 #357ABA
monochromatic
#5B1A1B #8A272A #BA3538 #D05C5E #DE8B8D
Accessibility & contrast
On white
5.75
#BA3538 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#BA3538 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3538
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3538 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5437
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#CC0238
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ba3538; /* rgb */ color: rgb(186, 53, 56); /* oklch */ color: oklch(53.1% 0.170 23.9);
Tailwind
colors: {
custom: {
50: '#d7756e',
500: '#ba3538',
950: '#000000',
},
}SCSS
$custom: #ba3538; $custom-light: #d7756e; $custom-dark: #000000;
JSON
{
"hex": "#ba3538",
"rgb": {
"r": 186,
"g": 53,
"b": 56
},
"hsl": {
"h": 358.647,
"s": 55.649,
"l": 46.863
},
"oklch": {
"l": 0.5306,
"c": 0.16961,
"h": 23.9
},
"luminance": 0.13271
}Semantic roles & 50–950 ramp
primary
#BA3538
secondary
#82C8C7
accent
#DFDC49
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A