#BA3431#BA3431
#BA3431 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.171 H 26.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3431 |
|---|---|
| RGB | rgb(186, 52, 49) |
| HSL | hsl(1, 58%, 46%) |
| HSV | hsv(1, 74%, 73%) |
| CMYK | cmyk(0%, 72%, 73.7%, 27.1%) |
| CIE-LAB | lab(42.94, 53.09, 33.64) |
| CIE-LCH | lch(42.94, 62.85, 32.36°) |
| OKLab | oklab(52.86% 0.1537 0.076) |
| OKLCH | oklch(52.86% 0.171 26.3) |
| XYZ | xyz(22.0346, 13.1202, 4.2773) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.11
Firebrick
#B22222
ΔE00 3.75
Reddish
#C44240
ΔE00 4.13
Scarlet
#BE0119
ΔE00 4.84
Brown
#A52A2A
ΔE00 4.96
Lipstick Red
#C0022F
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3431 #31B7BA
analogous
#BA3172 #BA3431 #BA7831
triadic
#BA3431 #31BA34 #3431BA
tetradic
#BA3431 #72BA31 #31B7BA #7831BA
square
#BA3431 #72BA31 #31B7BA #7831BA
split-complementary
#BA3431 #31BA78 #3172BA
monochromatic
#591917 #8A2624 #BA3431 #D25956 #DF8886
Accessibility & contrast
On white
5.80
#BA3431 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#BA3431 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3431
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3431 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3431 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B532F
Deuteranopia (green-blind)
#7C702C
Tritanopia (blue-blind)
#CD0035
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba3431; /* rgb */ color: rgb(186, 52, 49); /* oklch */ color: oklch(52.9% 0.171 26.3);
Tailwind
colors: {
custom: {
50: '#d77569',
500: '#ba3431',
950: '#000000',
},
}SCSS
$custom: #ba3431; $custom-light: #d77569; $custom-dark: #000000;
JSON
{
"hex": "#ba3431",
"rgb": {
"r": 186,
"g": 52,
"b": 49
},
"hsl": {
"h": 1.314,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.52859,
"c": 0.1714,
"h": 26.3
},
"luminance": 0.13117
}Semantic roles & 50–950 ramp
primary
#BA3431
secondary
#7EC7C9
accent
#DEE246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A