#BA2D2E#BA2D2E
#BA2D2E is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.2% C 0.178 H 25.6°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2D2E |
|---|---|
| RGB | rgb(186, 45, 46) |
| HSL | hsl(360, 61%, 45%) |
| HSV | hsv(360, 76%, 73%) |
| CMYK | cmyk(0%, 75.8%, 75.3%, 27.1%) |
| CIE-LAB | lab(42.03, 55.41, 34.35) |
| CIE-LCH | lch(42.03, 65.19, 31.80°) |
| OKLab | oklab(52.16% 0.1603 0.0768) |
| OKLCH | oklch(52.16% 0.178 25.6) |
| XYZ | xyz(21.6838, 12.5165, 3.8584) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.99
Dull Red
#BB3F3F
ΔE00 3.82
Scarlet
#BE0119
ΔE00 4.05
Brown
#A52A2A
ΔE00 4.35
Lipstick Red
#C0022F
ΔE00 4.36
Cardinal
#C41E3A
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2D2E #2DBAB9
analogous
#BA2D75 #BA2D2E #BA722D
triadic
#BA2D2E #2EBA2D #2D2EBA
tetradic
#BA2D2E #75BA2D #2DBAB9 #722DBA
square
#BA2D2E #75BA2D #2DBAB9 #722DBA
split-complementary
#BA2D2E #2DBA72 #2D75BA
monochromatic
#571516 #892122 #BA2D2E #D55051 #E08182
Accessibility & contrast
On white
6.00
#BA2D2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#BA2D2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2D2E
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2D2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2D2E | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58502C
Deuteranopia (green-blind)
#7B6E29
Tritanopia (blue-blind)
#CD002F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2d2e; /* rgb */ color: rgb(186, 45, 46); /* oklch */ color: oklch(52.2% 0.178 25.6);
Tailwind
colors: {
custom: {
50: '#d87267',
500: '#ba2d2e',
950: '#000000',
},
}SCSS
$custom: #ba2d2e; $custom-light: #d87267; $custom-dark: #000000;
JSON
{
"hex": "#ba2d2e",
"rgb": {
"r": 186,
"g": 45,
"b": 46
},
"hsl": {
"h": 359.574,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.52162,
"c": 0.17778,
"h": 25.6
},
"luminance": 0.12513
}Semantic roles & 50–950 ramp
primary
#BA2D2E
secondary
#79C9C9
accent
#E4E344
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A