#BA3028#BA3028
#BA3028 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.176 H 28.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3028 |
|---|---|
| RGB | rgb(186, 48, 40) |
| HSL | hsl(3, 65%, 44%) |
| HSV | hsv(3, 78%, 73%) |
| CMYK | cmyk(0%, 74.2%, 78.5%, 27.1%) |
| CIE-LAB | lab(42.32, 54.17, 38.09) |
| CIE-LCH | lch(42.32, 66.22, 35.11°) |
| OKLab | oklab(52.36% 0.1552 0.0833) |
| OKLCH | oklch(52.36% 0.176 28.2) |
| XYZ | xyz(21.6922, 12.7096, 3.3181) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.96
Scarlet
#BE0119
ΔE00 3.69
Dull Red
#BB3F3F
ΔE00 5.05
Brown
#A52A2A
ΔE00 5.20
Brick
#A03623
ΔE00 5.32
Reddish
#C44240
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3028 #28B2BA
analogous
#BA2869 #BA3028 #BA7928
triadic
#BA3028 #28BA30 #3028BA
tetradic
#BA3028 #69BA28 #28B2BA #7928BA
square
#BA3028 #69BA28 #28B2BA #7928BA
split-complementary
#BA3028 #28BA79 #2869BA
monochromatic
#551612 #88231D #BA3028 #D85048 #E2807A
Accessibility & contrast
On white
5.93
#BA3028 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA3028 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3028
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3028 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3028 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5126
Deuteranopia (green-blind)
#7C6F22
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba3028; /* rgb */ color: rgb(186, 48, 40); /* oklch */ color: oklch(52.4% 0.176 28.2);
Tailwind
colors: {
custom: {
50: '#d87363',
500: '#ba3028',
950: '#000000',
},
}SCSS
$custom: #ba3028; $custom-light: #d87363; $custom-dark: #000000;
JSON
{
"hex": "#ba3028",
"rgb": {
"r": 186,
"g": 48,
"b": 40
},
"hsl": {
"h": 3.288,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52362,
"c": 0.1761,
"h": 28.2
},
"luminance": 0.12706
}Semantic roles & 50–950 ramp
primary
#BA3028
secondary
#73C6CA
accent
#DEE840
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160905
muted
#847B79