#BA303A#BA303A
#BA303A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.174 H 21.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA303A |
|---|---|
| RGB | rgb(186, 48, 58) |
| HSL | hsl(356, 59%, 46%) |
| HSV | hsv(356, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 68.8%, 27.1%) |
| CIE-LAB | lab(42.55, 54.94, 27.83) |
| CIE-LCH | lch(42.55, 61.59, 26.86°) |
| OKLab | oklab(52.61% 0.1615 0.0649) |
| OKLCH | oklch(52.61% 0.174 21.9) |
| XYZ | xyz(22.0728, 12.8618, 5.3225) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.44
Dull Red
#BB3F3F
ΔE00 2.87
Lipstick Red
#C0022F
ΔE00 3.47
Cherry (survey)
#CF0234
ΔE00 3.91
Reddish
#C44240
ΔE00 4.68
Dusty Red
#B9484E
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA303A #30BAB0
analogous
#BA307F #BA303A #BA6B30
triadic
#BA303A #3ABA30 #303ABA
tetradic
#BA303A #7FBA30 #30BAB0 #6B30BA
square
#BA303A #7FBA30 #30BAB0 #6B30BA
split-complementary
#BA303A #30BA6B #307FBA
monochromatic
#59171C #89232B #BA303A #D3545D #DF858B
Accessibility & contrast
On white
5.88
#BA303A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA303A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA303A
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA303A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA303A | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#585239
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#CC0035
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba303a; /* rgb */ color: rgb(186, 48, 58); /* oklch */ color: oklch(52.6% 0.174 21.9);
Tailwind
colors: {
custom: {
50: '#d77370',
500: '#ba303a',
950: '#000000',
},
}SCSS
$custom: #ba303a; $custom-light: #d77370; $custom-dark: #000000;
JSON
{
"hex": "#ba303a",
"rgb": {
"r": 186,
"g": 48,
"b": 58
},
"hsl": {
"h": 355.652,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52609,
"c": 0.17402,
"h": 21.9
},
"luminance": 0.12858
}Semantic roles & 50–950 ramp
primary
#BA303A
secondary
#7DC9C3
accent
#E2D746
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A