#BA3336#BA3336
#BA3336 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.8% C 0.172 H 24.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3336 |
|---|---|
| RGB | rgb(186, 51, 54) |
| HSL | hsl(359, 57%, 46%) |
| HSV | hsv(359, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 71%, 27.1%) |
| CIE-LAB | lab(42.88, 53.68, 30.62) |
| CIE-LCH | lch(42.88, 61.80, 29.70°) |
| OKLab | oklab(52.83% 0.1566 0.0704) |
| OKLCH | oklch(52.83% 0.172 24.2) |
| XYZ | xyz(22.1018, 13.0764, 4.8495) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.33
Cardinal
#C41E3A
ΔE00 3.80
Reddish
#C44240
ΔE00 3.94
Lipstick Red
#C0022F
ΔE00 4.21
Cherry (survey)
#CF0234
ΔE00 4.46
Firebrick
#B22222
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3336 #33BAB7
analogous
#BA337A #BA3336 #BA7433
triadic
#BA3336 #36BA33 #3336BA
tetradic
#BA3336 #7ABA33 #33BAB7 #7433BA
square
#BA3336 #7ABA33 #33BAB7 #7433BA
split-complementary
#BA3336 #33BA74 #337ABA
monochromatic
#5A191A #8A2628 #BA3336 #D1595B #DF898B
Accessibility & contrast
On white
5.81
#BA3336 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA3336 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3336
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3336 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3336 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5335
Deuteranopia (green-blind)
#7C7032
Tritanopia (blue-blind)
#CD0036
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3336; /* rgb */ color: rgb(186, 51, 54); /* oklch */ color: oklch(52.8% 0.172 24.2);
Tailwind
colors: {
custom: {
50: '#d7756d',
500: '#ba3336',
950: '#000000',
},
}SCSS
$custom: #ba3336; $custom-light: #d7756d; $custom-dark: #000000;
JSON
{
"hex": "#ba3336",
"rgb": {
"r": 186,
"g": 51,
"b": 54
},
"hsl": {
"h": 358.667,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.52831,
"c": 0.17169,
"h": 24.2
},
"luminance": 0.13073
}Semantic roles & 50–950 ramp
primary
#BA3336
secondary
#80C9C7
accent
#E0DD48
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A