#BA302E#BA302E
#BA302E is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.4% C 0.175 H 26.3°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BA302E |
|---|---|
| RGB | rgb(186, 48, 46) |
| HSL | hsl(1, 60%, 45%) |
| HSV | hsv(1, 75%, 73%) |
| CMYK | cmyk(0%, 74.2%, 75.3%, 27.1%) |
| CIE-LAB | lab(42.39, 54.39, 34.76) |
| CIE-LCH | lch(42.39, 64.55, 32.58°) |
| OKLab | oklab(52.43% 0.1571 0.0777) |
| OKLCH | oklch(52.43% 0.175 26.3) |
| XYZ | xyz(21.8023, 12.7536, 3.8979) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.13
Dull Red
#BB3F3F
ΔE00 3.74
Scarlet
#BE0119
ΔE00 4.17
Brown
#A52A2A
ΔE00 4.63
Reddish
#C44240
ΔE00 4.74
Lipstick Red
#C0022F
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA302E #2EB8BA
analogous
#BA2E72 #BA302E #BA762E
triadic
#BA302E #2EBA30 #302EBA
tetradic
#BA302E #72BA2E #2EB8BA #762EBA
square
#BA302E #72BA2E #2EB8BA #762EBA
split-complementary
#BA302E #2EBA76 #2E72BA
monochromatic
#581716 #892322 #BA302E #D45351 #E08482
Accessibility & contrast
On white
5.92
#BA302E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA302E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA302E
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA302E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA302E | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512C
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba302e; /* rgb */ color: rgb(186, 48, 46); /* oklch */ color: oklch(52.4% 0.175 26.3);
Tailwind
colors: {
custom: {
50: '#d77367',
500: '#ba302e',
950: '#000000',
},
}SCSS
$custom: #ba302e; $custom-light: #d77367; $custom-dark: #000000;
JSON
{
"hex": "#ba302e",
"rgb": {
"r": 186,
"g": 48,
"b": 46
},
"hsl": {
"h": 0.857,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52434,
"c": 0.17528,
"h": 26.3
},
"luminance": 0.1275
}Semantic roles & 50–950 ramp
primary
#BA302E
secondary
#7BC8C9
accent
#E1E344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A