#BA2B2A#BA2B2A
#BA2B2A is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.9% C 0.180 H 26.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B2A |
|---|---|
| RGB | rgb(186, 43, 42) |
| HSL | hsl(0, 63%, 45%) |
| HSV | hsv(0, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 77.4%, 27.1%) |
| CIE-LAB | lab(41.75, 55.90, 36.35) |
| CIE-LCH | lch(41.75, 66.68, 33.04°) |
| OKLab | oklab(51.94% 0.161 0.0801) |
| OKLCH | oklch(51.94% 0.18 26.4) |
| XYZ | xyz(21.5341, 12.3374, 3.4375) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.41
Scarlet
#BE0119
ΔE00 3.34
Brown
#A52A2A
ΔE00 4.39
Dull Red
#BB3F3F
ΔE00 4.57
Lipstick Red
#C0022F
ΔE00 4.90
Reddish
#C44240
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B2A #2AB9BA
analogous
#BA2A71 #BA2B2A #BA732A
triadic
#BA2B2A #2ABA2B #2B2ABA
tetradic
#BA2B2A #71BA2A #2AB9BA #732ABA
square
#BA2B2A #71BA2A #2AB9BA #732ABA
split-complementary
#BA2B2A #2ABA73 #2A71BA
monochromatic
#561413 #881F1F #BA2B2A #D64C4B #E27E7D
Accessibility & contrast
On white
6.06
#BA2B2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#BA2B2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B2A
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B2A | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F28
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#CD002D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2b2a; /* rgb */ color: rgb(186, 43, 42); /* oklch */ color: oklch(51.9% 0.180 26.4);
Tailwind
colors: {
custom: {
50: '#d87164',
500: '#ba2b2a',
950: '#000000',
},
}SCSS
$custom: #ba2b2a; $custom-light: #d87164; $custom-dark: #000000;
JSON
{
"hex": "#ba2b2a",
"rgb": {
"r": 186,
"g": 43,
"b": 42
},
"hsl": {
"h": 0.417,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.51941,
"c": 0.17986,
"h": 26.4
},
"luminance": 0.12334
}Semantic roles & 50–950 ramp
primary
#BA2B2A
secondary
#76C9CA
accent
#E5E642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160805
muted
#847B7A