#BA3333#BA3333
#BA3333 is a mid, vivid red. Relative luminance 0.130; OKLCH L 52.8% C 0.172 H 25.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3333 |
|---|---|
| RGB | rgb(186, 51, 51) |
| HSL | hsl(0, 57%, 46%) |
| HSV | hsv(0, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 72.6%, 27.1%) |
| CIE-LAB | lab(42.84, 53.54, 32.35) |
| CIE-LCH | lch(42.84, 62.56, 31.14°) |
| OKLab | oklab(52.79% 0.1555 0.0736) |
| OKLCH | oklch(52.79% 0.172 25.3) |
| XYZ | xyz(22.0336, 13.0491, 4.4899) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.73
Firebrick
#B22222
ΔE00 3.98
Reddish
#C44240
ΔE00 4.03
Cardinal
#C41E3A
ΔE00 4.56
Lipstick Red
#C0022F
ΔE00 4.64
Brown
#A52A2A
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3333 #33BABA
analogous
#BA3377 #BA3333 #BA7733
triadic
#BA3333 #33BA33 #3333BA
tetradic
#BA3333 #77BA33 #33BABA #7733BA
square
#BA3333 #77BA33 #33BABA #7733BA
split-complementary
#BA3333 #33BA77 #3377BA
monochromatic
#5A1919 #8A2626 #BA3333 #D15959 #DF8989
Accessibility & contrast
On white
5.82
#BA3333 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA3333 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3333
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3333 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3333 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5332
Deuteranopia (green-blind)
#7C702E
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3333; /* rgb */ color: rgb(186, 51, 51); /* oklch */ color: oklch(52.8% 0.172 25.3);
Tailwind
colors: {
custom: {
50: '#d7746b',
500: '#ba3333',
950: '#000000',
},
}SCSS
$custom: #ba3333; $custom-light: #d7746b; $custom-dark: #000000;
JSON
{
"hex": "#ba3333",
"rgb": {
"r": 186,
"g": 51,
"b": 51
},
"hsl": {
"h": 0,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.52787,
"c": 0.17204,
"h": 25.3
},
"luminance": 0.13046
}Semantic roles & 50–950 ramp
primary
#BA3333
secondary
#80C9C9
accent
#E0E048
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A