#BA2C2C#BA2C2C
#BA2C2C is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.179 H 26.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2C2C |
|---|---|
| RGB | rgb(186, 44, 44) |
| HSL | hsl(0, 62%, 45%) |
| HSV | hsv(0, 76%, 73%) |
| CMYK | cmyk(0%, 76.3%, 76.3%, 27.1%) |
| CIE-LAB | lab(41.88, 55.66, 35.35) |
| CIE-LCH | lch(41.88, 65.94, 32.43°) |
| OKLab | oklab(52.05% 0.1607 0.0785) |
| OKLCH | oklch(52.05% 0.179 26) |
| XYZ | xyz(21.6076, 12.4257, 3.6431) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.67
Scarlet
#BE0119
ΔE00 3.68
Dull Red
#BB3F3F
ΔE00 4.19
Brown
#A52A2A
ΔE00 4.34
Lipstick Red
#C0022F
ΔE00 4.61
Reddish
#C44240
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2C2C #2CBABA
analogous
#BA2C73 #BA2C2C #BA732C
triadic
#BA2C2C #2CBA2C #2C2CBA
tetradic
#BA2C2C #73BA2C #2CBABA #732CBA
square
#BA2C2C #73BA2C #2CBABA #732CBA
split-complementary
#BA2C2C #2CBA73 #2C73BA
monochromatic
#571515 #892020 #BA2C2C #D54E4E #E18080
Accessibility & contrast
On white
6.03
#BA2C2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#BA2C2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2C2C
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2C2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2C2C | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#574F2A
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#CD002E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2c2c; /* rgb */ color: rgb(186, 44, 44); /* oklch */ color: oklch(52.0% 0.179 26.0);
Tailwind
colors: {
custom: {
50: '#d87166',
500: '#ba2c2c',
950: '#000000',
},
}SCSS
$custom: #ba2c2c; $custom-light: #d87166; $custom-dark: #000000;
JSON
{
"hex": "#ba2c2c",
"rgb": {
"r": 186,
"g": 44,
"b": 44
},
"hsl": {
"h": 0,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.5205,
"c": 0.17883,
"h": 26
},
"luminance": 0.12422
}Semantic roles & 50–950 ramp
primary
#BA2C2C
secondary
#78CACA
accent
#E5E543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160806
muted
#847B7A