#BA303C#BA303C
#BA303C is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.174 H 21.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA303C |
|---|---|
| RGB | rgb(186, 48, 60) |
| HSL | hsl(355, 59%, 46%) |
| HSV | hsv(355, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 67.7%, 27.1%) |
| CIE-LAB | lab(42.59, 55.05, 26.65) |
| CIE-LCH | lch(42.59, 61.16, 25.83°) |
| OKLab | oklab(52.64% 0.1622 0.0625) |
| OKLCH | oklch(52.64% 0.174 21.1) |
| XYZ | xyz(22.1247, 12.8826, 5.5957) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.20
Dull Red
#BB3F3F
ΔE00 3.14
Lipstick Red
#C0022F
ΔE00 3.56
Cherry (survey)
#CF0234
ΔE00 3.97
Dusty Red
#B9484E
ΔE00 4.76
Rose Red
#BE013C
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA303C #30BAAE
analogous
#BA3081 #BA303C #BA6930
triadic
#BA303C #3CBA30 #303CBA
tetradic
#BA303C #81BA30 #30BAAE #6930BA
square
#BA303C #81BA30 #30BAAE #6930BA
split-complementary
#BA303C #30BA69 #3081BA
monochromatic
#59171D #89232C #BA303C #D3545F #DF858D
Accessibility & contrast
On white
5.87
#BA303C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA303C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA303C
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA303C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA303C | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58523B
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba303c; /* rgb */ color: rgb(186, 48, 60); /* oklch */ color: oklch(52.6% 0.174 21.1);
Tailwind
colors: {
custom: {
50: '#d77371',
500: '#ba303c',
950: '#000000',
},
}SCSS
$custom: #ba303c; $custom-light: #d77371; $custom-dark: #000000;
JSON
{
"hex": "#ba303c",
"rgb": {
"r": 186,
"g": 48,
"b": 60
},
"hsl": {
"h": 354.783,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52642,
"c": 0.17387,
"h": 21.1
},
"luminance": 0.12879
}Semantic roles & 50–950 ramp
primary
#BA303C
secondary
#7DC9C2
accent
#E2D546
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A