#BA3030#BA3030
#BA3030 is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.175 H 25.6°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3030 |
|---|---|
| RGB | rgb(186, 48, 48) |
| HSL | hsl(0, 59%, 46%) |
| HSV | hsv(0, 74%, 73%) |
| CMYK | cmyk(0%, 74.2%, 74.2%, 27.1%) |
| CIE-LAB | lab(42.41, 54.48, 33.62) |
| CIE-LCH | lch(42.41, 64.02, 31.68°) |
| OKLab | oklab(52.46% 0.1578 0.0757) |
| OKLCH | oklch(52.46% 0.175 25.6) |
| XYZ | xyz(21.8427, 12.7698, 4.1104) |
| Luminance | 0.1277 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.36
Firebrick
#B22222
ΔE00 3.39
Scarlet
#BE0119
ΔE00 4.49
Reddish
#C44240
ΔE00 4.54
Lipstick Red
#C0022F
ΔE00 4.55
Brown
#A52A2A
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3030 #30BABA
analogous
#BA3075 #BA3030 #BA7530
triadic
#BA3030 #30BA30 #3030BA
tetradic
#BA3030 #75BA30 #30BABA #7530BA
square
#BA3030 #75BA30 #30BABA #7530BA
split-complementary
#BA3030 #30BA75 #3075BA
monochromatic
#591717 #892323 #BA3030 #D35454 #DF8585
Accessibility & contrast
On white
5.91
#BA3030 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#BA3030 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3030
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3030 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3030 | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512E
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#CD0032
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3030; /* rgb */ color: rgb(186, 48, 48); /* oklch */ color: oklch(52.5% 0.175 25.6);
Tailwind
colors: {
custom: {
50: '#d77369',
500: '#ba3030',
950: '#000000',
},
}SCSS
$custom: #ba3030; $custom-light: #d77369; $custom-dark: #000000;
JSON
{
"hex": "#ba3030",
"rgb": {
"r": 186,
"g": 48,
"b": 48
},
"hsl": {
"h": 0,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.5246,
"c": 0.17503,
"h": 25.6
},
"luminance": 0.12766
}Semantic roles & 50–950 ramp
primary
#BA3030
secondary
#7DC9C9
accent
#E2E246
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A