#BA2A28#BA2A28
#BA2A28 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.8% C 0.181 H 26.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A28 |
|---|---|
| RGB | rgb(186, 42, 40) |
| HSL | hsl(1, 65%, 44%) |
| HSV | hsv(1, 78%, 73%) |
| CMYK | cmyk(0%, 77.4%, 78.5%, 27.1%) |
| CIE-LAB | lab(41.61, 56.14, 37.35) |
| CIE-LCH | lch(41.61, 67.43, 33.63°) |
| OKLab | oklab(51.83% 0.1614 0.0817) |
| OKLCH | oklch(51.83% 0.181 26.8) |
| XYZ | xyz(21.4632, 12.2516, 3.2418) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.22
Scarlet
#BE0119
ΔE00 3.04
Brown
#A52A2A
ΔE00 4.48
Dull Red
#BB3F3F
ΔE00 4.96
Lipstick Red
#C0022F
ΔE00 5.20
Brick
#A03623
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A28 #28B8BA
analogous
#BA286F #BA2A28 #BA7328
triadic
#BA2A28 #28BA2A #2A28BA
tetradic
#BA2A28 #6FBA28 #28B8BA #7328BA
square
#BA2A28 #6FBA28 #28B8BA #7328BA
split-complementary
#BA2A28 #28BA73 #286FBA
monochromatic
#551312 #881F1D #BA2A28 #D84A48 #E27B7A
Accessibility & contrast
On white
6.09
#BA2A28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#BA2A28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A28
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A28 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574E26
Deuteranopia (green-blind)
#7A6D22
Tritanopia (blue-blind)
#CD002C
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2a28; /* rgb */ color: rgb(186, 42, 40); /* oklch */ color: oklch(51.8% 0.181 26.8);
Tailwind
colors: {
custom: {
50: '#d87063',
500: '#ba2a28',
950: '#000000',
},
}SCSS
$custom: #ba2a28; $custom-light: #d87063; $custom-dark: #000000;
JSON
{
"hex": "#ba2a28",
"rgb": {
"r": 186,
"g": 42,
"b": 40
},
"hsl": {
"h": 0.822,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.51834,
"c": 0.18087,
"h": 26.8
},
"luminance": 0.12248
}Semantic roles & 50–950 ramp
primary
#BA2A28
secondary
#73C9CA
accent
#E5E840
background
#FEF7F5
surface
#FDEDEA
border
#D5C8C6
text
#160805
muted
#847B79