#BA3129#BA3129
#BA3129 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.175 H 28.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3129 |
|---|---|
| RGB | rgb(186, 49, 41) |
| HSL | hsl(3, 64%, 45%) |
| HSV | hsv(3, 78%, 73%) |
| CMYK | cmyk(0%, 73.7%, 78%, 27.1%) |
| CIE-LAB | lab(42.46, 53.85, 37.67) |
| CIE-LCH | lch(42.46, 65.72, 34.97°) |
| OKLab | oklab(52.47% 0.1544 0.0827) |
| OKLCH | oklch(52.47% 0.175 28.2) |
| XYZ | xyz(21.7508, 12.7992, 3.4226) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.08
Scarlet
#BE0119
ΔE00 3.85
Dull Red
#BB3F3F
ΔE00 4.86
Brown
#A52A2A
ΔE00 5.21
Brick
#A03623
ΔE00 5.38
Reddish
#C44240
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3129 #29B2BA
analogous
#BA296A #BA3129 #BA7929
triadic
#BA3129 #29BA31 #3129BA
tetradic
#BA3129 #6ABA29 #29B2BA #7929BA
square
#BA3129 #6ABA29 #29B2BA #7929BA
split-complementary
#BA3129 #29BA79 #296ABA
monochromatic
#561713 #88241E #BA3129 #D75149 #E2817B
Accessibility & contrast
On white
5.90
#BA3129 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#BA3129 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3129
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3129 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3129 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5127
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3129; /* rgb */ color: rgb(186, 49, 41); /* oklch */ color: oklch(52.5% 0.175 28.2);
Tailwind
colors: {
custom: {
50: '#d87364',
500: '#ba3129',
950: '#000000',
},
}SCSS
$custom: #ba3129; $custom-light: #d87364; $custom-dark: #000000;
JSON
{
"hex": "#ba3129",
"rgb": {
"r": 186,
"g": 49,
"b": 41
},
"hsl": {
"h": 3.31,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52467,
"c": 0.17513,
"h": 28.2
},
"luminance": 0.12796
}Semantic roles & 50–950 ramp
primary
#BA3129
secondary
#75C5CA
accent
#DEE741
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A