#BA2B31#BA2B31
#BA2B31 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.179 H 24.1°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B31 |
|---|---|
| RGB | rgb(186, 43, 49) |
| HSL | hsl(357, 62%, 45%) |
| HSV | hsv(357, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 73.7%, 27.1%) |
| CIE-LAB | lab(41.83, 56.18, 32.37) |
| CIE-LCH | lch(41.83, 64.84, 29.95°) |
| OKLab | oklab(52.03% 0.1634 0.0732) |
| OKLCH | oklch(52.03% 0.179 24.1) |
| XYZ | xyz(21.6705, 12.3920, 4.1560) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick Red
#C0022F
ΔE00 3.39
Dull Red
#BB3F3F
ΔE00 3.57
Firebrick
#B22222
ΔE00 3.60
Cardinal
#C41E3A
ΔE00 3.77
Cherry (survey)
#CF0234
ΔE00 4.23
Brown
#A52A2A
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B31 #2BBAB4
analogous
#BA2B78 #BA2B31 #BA6D2B
triadic
#BA2B31 #31BA2B #2B31BA
tetradic
#BA2B31 #78BA2B #2BBAB4 #6D2BBA
square
#BA2B31 #78BA2B #2BBAB4 #6D2BBA
split-complementary
#BA2B31 #2BBA6D #2B78BA
monochromatic
#571417 #882024 #BA2B31 #D64C52 #E17E82
Accessibility & contrast
On white
6.04
#BA2B31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA2B31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B31
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B31 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#564F30
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2b31; /* rgb */ color: rgb(186, 43, 49); /* oklch */ color: oklch(52.0% 0.179 24.1);
Tailwind
colors: {
custom: {
50: '#d77169',
500: '#ba2b31',
950: '#000000',
},
}SCSS
$custom: #ba2b31; $custom-light: #d77169; $custom-dark: #000000;
JSON
{
"hex": "#ba2b31",
"rgb": {
"r": 186,
"g": 43,
"b": 49
},
"hsl": {
"h": 357.483,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52031,
"c": 0.17907,
"h": 24.1
},
"luminance": 0.12389
}Semantic roles & 50–950 ramp
primary
#BA2B31
secondary
#77CAC6
accent
#E6DF42
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A