#BA302D#BA302D
#BA302D is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.175 H 26.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #BA302D |
|---|---|
| RGB | rgb(186, 48, 45) |
| HSL | hsl(1, 61%, 45%) |
| HSV | hsv(1, 76%, 73%) |
| CMYK | cmyk(0%, 74.2%, 75.8%, 27.1%) |
| CIE-LAB | lab(42.38, 54.35, 35.32) |
| CIE-LCH | lch(42.38, 64.82, 33.02°) |
| OKLab | oklab(52.42% 0.1568 0.0787) |
| OKLCH | oklch(52.42% 0.175 26.6) |
| XYZ | xyz(21.7828, 12.7458, 3.7953) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.03
Dull Red
#BB3F3F
ΔE00 3.94
Scarlet
#BE0119
ΔE00 4.04
Brown
#A52A2A
ΔE00 4.69
Reddish
#C44240
ΔE00 4.86
Lipstick Red
#C0022F
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA302D #2DB7BA
analogous
#BA2D70 #BA302D #BA772D
triadic
#BA302D #2DBA30 #302DBA
tetradic
#BA302D #70BA2D #2DB7BA #772DBA
square
#BA302D #70BA2D #2DB7BA #772DBA
split-complementary
#BA302D #2DBA77 #2D70BA
monochromatic
#571715 #892321 #BA302D #D55250 #E08381
Accessibility & contrast
On white
5.92
#BA302D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA302D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA302D
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA302D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA302D | 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)
#59512B
Deuteranopia (green-blind)
#7C6F28
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba302d; /* rgb */ color: rgb(186, 48, 45); /* oklch */ color: oklch(52.4% 0.175 26.6);
Tailwind
colors: {
custom: {
50: '#d87366',
500: '#ba302d',
950: '#000000',
},
}SCSS
$custom: #ba302d; $custom-light: #d87366; $custom-dark: #000000;
JSON
{
"hex": "#ba302d",
"rgb": {
"r": 186,
"g": 48,
"b": 45
},
"hsl": {
"h": 1.277,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.52421,
"c": 0.17541,
"h": 26.6
},
"luminance": 0.12742
}Semantic roles & 50–950 ramp
primary
#BA302D
secondary
#79C8C9
accent
#E1E444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A