#BA3337#BA3337
#BA3337 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.8% C 0.172 H 23.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3337 |
|---|---|
| RGB | rgb(186, 51, 55) |
| HSL | hsl(358, 57%, 46%) |
| HSV | hsv(358, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 70.4%, 27.1%) |
| CIE-LAB | lab(42.89, 53.73, 30.04) |
| CIE-LCH | lch(42.89, 61.56, 29.21°) |
| OKLab | oklab(52.85% 0.157 0.0693) |
| OKLCH | oklch(52.85% 0.172 23.8) |
| XYZ | xyz(22.1256, 13.0859, 4.9745) |
| Luminance | 0.1308 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.26
Cardinal
#C41E3A
ΔE00 3.56
Reddish
#C44240
ΔE00 3.95
Lipstick Red
#C0022F
ΔE00 4.10
Cherry (survey)
#CF0234
ΔE00 4.34
Firebrick
#B22222
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3337 #33BAB6
analogous
#BA337B #BA3337 #BA7333
triadic
#BA3337 #37BA33 #3337BA
tetradic
#BA3337 #7BBA33 #33BAB6 #7333BA
square
#BA3337 #7BBA33 #33BAB6 #7333BA
split-complementary
#BA3337 #33BA73 #337BBA
monochromatic
#5A191B #8A2629 #BA3337 #D1595C #DF898B
Accessibility & contrast
On white
5.81
#BA3337 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA3337 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3337
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3337 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3337 | 1.00 | 5.81 | 3.62 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5336
Deuteranopia (green-blind)
#7C7033
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3337; /* rgb */ color: rgb(186, 51, 55); /* oklch */ color: oklch(52.8% 0.172 23.8);
Tailwind
colors: {
custom: {
50: '#d7756e',
500: '#ba3337',
950: '#000000',
},
}SCSS
$custom: #ba3337; $custom-light: #d7756e; $custom-dark: #000000;
JSON
{
"hex": "#ba3337",
"rgb": {
"r": 186,
"g": 51,
"b": 55
},
"hsl": {
"h": 358.222,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.52846,
"c": 0.17158,
"h": 23.8
},
"luminance": 0.13083
}Semantic roles & 50–950 ramp
primary
#BA3337
secondary
#80C9C6
accent
#E0DC48
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A