#BA302A#BA302A
#BA302A is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.176 H 27.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA302A |
|---|---|
| RGB | rgb(186, 48, 42) |
| HSL | hsl(3, 63%, 45%) |
| HSV | hsv(3, 77%, 73%) |
| CMYK | cmyk(0%, 74.2%, 77.4%, 27.1%) |
| CIE-LAB | lab(42.34, 54.24, 36.99) |
| CIE-LCH | lch(42.34, 65.65, 34.29°) |
| OKLab | oklab(52.39% 0.1558 0.0815) |
| OKLCH | oklch(52.39% 0.176 27.6) |
| XYZ | xyz(21.7271, 12.7236, 3.5019) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.91
Scarlet
#BE0119
ΔE00 3.77
Dull Red
#BB3F3F
ΔE00 4.59
Brown
#A52A2A
ΔE00 4.96
Reddish
#C44240
ΔE00 5.30
Brick
#A03623
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA302A #2AB4BA
analogous
#BA2A6C #BA302A #BA782A
triadic
#BA302A #2ABA30 #302ABA
tetradic
#BA302A #6CBA2A #2AB4BA #782ABA
square
#BA302A #6CBA2A #2AB4BA #782ABA
split-complementary
#BA302A #2ABA78 #2A6CBA
monochromatic
#561613 #88231F #BA302A #D6514B #E2817D
Accessibility & contrast
On white
5.93
#BA302A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA302A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA302A
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA302A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA302A | 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)
#5A5128
Deuteranopia (green-blind)
#7C6F24
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba302a; /* rgb */ color: rgb(186, 48, 42); /* oklch */ color: oklch(52.4% 0.176 27.6);
Tailwind
colors: {
custom: {
50: '#d87364',
500: '#ba302a',
950: '#000000',
},
}SCSS
$custom: #ba302a; $custom-light: #d87364; $custom-dark: #000000;
JSON
{
"hex": "#ba302a",
"rgb": {
"r": 186,
"g": 48,
"b": 42
},
"hsl": {
"h": 2.5,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52385,
"c": 0.17582,
"h": 27.6
},
"luminance": 0.1272
}Semantic roles & 50–950 ramp
primary
#BA302A
secondary
#76C6CA
accent
#DFE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A