#BA3334#BA3334
#BA3334 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.8% C 0.172 H 24.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3334 |
|---|---|
| RGB | rgb(186, 51, 52) |
| HSL | hsl(360, 57%, 46%) |
| HSV | hsv(360, 73%, 73%) |
| CMYK | cmyk(0%, 72.6%, 72%, 27.1%) |
| CIE-LAB | lab(42.85, 53.59, 31.77) |
| CIE-LCH | lch(42.85, 62.30, 30.66°) |
| OKLab | oklab(52.8% 0.1559 0.0725) |
| OKLCH | oklch(52.8% 0.172 24.9) |
| XYZ | xyz(22.0558, 13.0580, 4.6072) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.57
Reddish
#C44240
ΔE00 3.98
Firebrick
#B22222
ΔE00 4.15
Cardinal
#C41E3A
ΔE00 4.30
Lipstick Red
#C0022F
ΔE00 4.48
Cherry (survey)
#CF0234
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3334 #33BAB9
analogous
#BA3378 #BA3334 #BA7633
triadic
#BA3334 #34BA33 #3334BA
tetradic
#BA3334 #78BA33 #33BAB9 #7633BA
square
#BA3334 #78BA33 #33BAB9 #7633BA
split-complementary
#BA3334 #33BA76 #3378BA
monochromatic
#5A1919 #8A2627 #BA3334 #D1595A #DF8989
Accessibility & contrast
On white
5.82
#BA3334 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BA3334 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3334
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3334 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3334 | 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)
#5A5333
Deuteranopia (green-blind)
#7C702F
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3334; /* rgb */ color: rgb(186, 51, 52); /* oklch */ color: oklch(52.8% 0.172 24.9);
Tailwind
colors: {
custom: {
50: '#d7746b',
500: '#ba3334',
950: '#000000',
},
}SCSS
$custom: #ba3334; $custom-light: #d7746b; $custom-dark: #000000;
JSON
{
"hex": "#ba3334",
"rgb": {
"r": 186,
"g": 51,
"b": 52
},
"hsl": {
"h": 359.556,
"s": 56.962,
"l": 46.471
},
"oklch": {
"l": 0.52802,
"c": 0.17192,
"h": 24.9
},
"luminance": 0.13055
}Semantic roles & 50–950 ramp
primary
#BA3334
secondary
#80C9C8
accent
#E0DF48
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160907
muted
#847B7A