#BA3130#BA3130
#BA3130 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.6% C 0.174 H 25.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3130 |
|---|---|
| RGB | rgb(186, 49, 48) |
| HSL | hsl(0, 59%, 46%) |
| HSV | hsv(0, 74%, 73%) |
| CMYK | cmyk(0%, 73.7%, 74.2%, 27.1%) |
| CIE-LAB | lab(42.54, 54.13, 33.76) |
| CIE-LCH | lch(42.54, 63.79, 31.96°) |
| OKLab | oklab(52.55% 0.1567 0.076) |
| OKLCH | oklch(52.55% 0.174 25.9) |
| XYZ | xyz(21.8840, 12.8525, 4.1242) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.34
Firebrick
#B22222
ΔE00 3.43
Reddish
#C44240
ΔE00 4.46
Scarlet
#BE0119
ΔE00 4.52
Brown
#A52A2A
ΔE00 4.65
Lipstick Red
#C0022F
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3130 #30B9BA
analogous
#BA3074 #BA3130 #BA7630
triadic
#BA3130 #30BA31 #3130BA
tetradic
#BA3130 #74BA30 #30B9BA #7630BA
square
#BA3130 #74BA30 #30B9BA #7630BA
split-complementary
#BA3130 #30BA76 #3074BA
monochromatic
#591717 #892423 #BA3130 #D35554 #DF8685
Accessibility & contrast
On white
5.88
#BA3130 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA3130 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3130
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3130 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3130 | 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)
#59512E
Deuteranopia (green-blind)
#7C6F2B
Tritanopia (blue-blind)
#CD0033
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3130; /* rgb */ color: rgb(186, 49, 48); /* oklch */ color: oklch(52.6% 0.174 25.9);
Tailwind
colors: {
custom: {
50: '#d77369',
500: '#ba3130',
950: '#000000',
},
}SCSS
$custom: #ba3130; $custom-light: #d77369; $custom-dark: #000000;
JSON
{
"hex": "#ba3130",
"rgb": {
"r": 186,
"g": 49,
"b": 48
},
"hsl": {
"h": 0.435,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.52554,
"c": 0.17418,
"h": 25.9
},
"luminance": 0.12849
}Semantic roles & 50–950 ramp
primary
#BA3130
secondary
#7DC8C9
accent
#E1E246
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A