#BA2F2E#BA2F2E
#BA2F2E is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.3% C 0.176 H 26.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2F2E |
|---|---|
| RGB | rgb(186, 47, 46) |
| HSL | hsl(0, 60%, 45%) |
| HSV | hsv(0, 75%, 73%) |
| CMYK | cmyk(0%, 74.7%, 75.3%, 27.1%) |
| CIE-LAB | lab(42.27, 54.74, 34.62) |
| CIE-LCH | lch(42.27, 64.77, 32.31°) |
| OKLab | oklab(52.34% 0.1582 0.0774) |
| OKLCH | oklch(52.34% 0.176 26.1) |
| XYZ | xyz(21.7619, 12.6728, 3.8845) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.07
Dull Red
#BB3F3F
ΔE00 3.75
Scarlet
#BE0119
ΔE00 4.12
Brown
#A52A2A
ΔE00 4.52
Lipstick Red
#C0022F
ΔE00 4.76
Reddish
#C44240
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2F2E #2EB9BA
analogous
#BA2E73 #BA2F2E #BA752E
triadic
#BA2F2E #2EBA2F #2F2EBA
tetradic
#BA2F2E #73BA2E #2EB9BA #752EBA
square
#BA2F2E #73BA2E #2EB9BA #752EBA
split-complementary
#BA2F2E #2EBA75 #2E73BA
monochromatic
#581616 #892322 #BA2F2E #D45251 #E08382
Accessibility & contrast
On white
5.94
#BA2F2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2F2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2F2E
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2F2E | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512C
Deuteranopia (green-blind)
#7B6F29
Tritanopia (blue-blind)
#CD0031
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2f2e; /* rgb */ color: rgb(186, 47, 46); /* oklch */ color: oklch(52.3% 0.176 26.1);
Tailwind
colors: {
custom: {
50: '#d87367',
500: '#ba2f2e',
950: '#000000',
},
}SCSS
$custom: #ba2f2e; $custom-light: #d87367; $custom-dark: #000000;
JSON
{
"hex": "#ba2f2e",
"rgb": {
"r": 186,
"g": 47,
"b": 46
},
"hsl": {
"h": 0.429,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52341,
"c": 0.17613,
"h": 26.1
},
"luminance": 0.12669
}Semantic roles & 50–950 ramp
primary
#BA2F2E
secondary
#7BC9C9
accent
#E2E344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A