#BA3029#BA3029
#BA3029 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.176 H 27.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3029 |
|---|---|
| RGB | rgb(186, 48, 41) |
| HSL | hsl(3, 64%, 45%) |
| HSV | hsv(3, 78%, 73%) |
| CMYK | cmyk(0%, 74.2%, 78%, 27.1%) |
| CIE-LAB | lab(42.33, 54.20, 37.54) |
| CIE-LCH | lch(42.33, 65.93, 34.71°) |
| OKLab | oklab(52.37% 0.1555 0.0824) |
| OKLCH | oklch(52.37% 0.176 27.9) |
| XYZ | xyz(21.7095, 12.7165, 3.4088) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.92
Scarlet
#BE0119
ΔE00 3.72
Dull Red
#BB3F3F
ΔE00 4.82
Brown
#A52A2A
ΔE00 5.07
Brick
#A03623
ΔE00 5.42
Reddish
#C44240
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3029 #29B3BA
analogous
#BA296A #BA3029 #BA7929
triadic
#BA3029 #29BA30 #3029BA
tetradic
#BA3029 #6ABA29 #29B3BA #7929BA
square
#BA3029 #6ABA29 #29B3BA #7929BA
split-complementary
#BA3029 #29BA79 #296ABA
monochromatic
#561613 #88231E #BA3029 #D75049 #E2807B
Accessibility & contrast
On white
5.93
#BA3029 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA3029 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3029
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3029 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3029 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5127
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3029; /* rgb */ color: rgb(186, 48, 41); /* oklch */ color: oklch(52.4% 0.176 27.9);
Tailwind
colors: {
custom: {
50: '#d87364',
500: '#ba3029',
950: '#000000',
},
}SCSS
$custom: #ba3029; $custom-light: #d87364; $custom-dark: #000000;
JSON
{
"hex": "#ba3029",
"rgb": {
"r": 186,
"g": 48,
"b": 41
},
"hsl": {
"h": 2.897,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52373,
"c": 0.17596,
"h": 27.9
},
"luminance": 0.12713
}Semantic roles & 50–950 ramp
primary
#BA3029
secondary
#75C6CA
accent
#DFE741
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A