#BA3A34#BA3A34
#BA3A34 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.5% C 0.165 H 27.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3A34 |
|---|---|
| RGB | rgb(186, 58, 52) |
| HSL | hsl(3, 56%, 47%) |
| HSV | hsv(3, 72%, 73%) |
| CMYK | cmyk(0%, 68.8%, 72%, 27.1%) |
| CIE-LAB | lab(43.82, 50.92, 32.90) |
| CIE-LCH | lch(43.82, 60.62, 32.87°) |
| OKLab | oklab(53.53% 0.1474 0.075) |
| OKLCH | oklch(53.53% 0.165 27) |
| XYZ | xyz(22.3850, 13.7164, 4.7170) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.66
Reddish
#C44240
ΔE00 3.43
Firebrick
#B22222
ΔE00 4.63
Brown
#A52A2A
ΔE00 5.68
Scarlet
#BE0119
ΔE00 5.72
Cardinal
#C41E3A
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3A34 #34B4BA
analogous
#BA3471 #BA3A34 #BA7D34
triadic
#BA3A34 #34BA3A #3A34BA
tetradic
#BA3A34 #71BA34 #34B4BA #7D34BA
square
#BA3A34 #71BA34 #34B4BA #7D34BA
split-complementary
#BA3A34 #34BA7D #3471BA
monochromatic
#5A1C19 #8A2B27 #BA3A34 #D1605A #DE8E8A
Accessibility & contrast
On white
5.61
#BA3A34 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#BA3A34 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3A34
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3A34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3A34 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5632
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#CC123A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3a34; /* rgb */ color: rgb(186, 58, 52); /* oklch */ color: oklch(53.5% 0.165 27.0);
Tailwind
colors: {
custom: {
50: '#d7786c',
500: '#ba3a34',
950: '#000000',
},
}SCSS
$custom: #ba3a34; $custom-light: #d7786c; $custom-dark: #000000;
JSON
{
"hex": "#ba3a34",
"rgb": {
"r": 186,
"g": 58,
"b": 52
},
"hsl": {
"h": 2.687,
"s": 56.303,
"l": 46.667
},
"oklch": {
"l": 0.53529,
"c": 0.16541,
"h": 27
},
"luminance": 0.13713
}Semantic roles & 50–950 ramp
primary
#BA3A34
secondary
#81C5C8
accent
#D9E048
background
#FEF7F6
surface
#FCEEEB
border
#D5C9C6
text
#160907
muted
#847B7A