#BA2D2F#BA2D2F
#BA2D2F is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.2% C 0.178 H 25.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2D2F |
|---|---|
| RGB | rgb(186, 45, 47) |
| HSL | hsl(359, 61%, 45%) |
| HSV | hsv(359, 76%, 73%) |
| CMYK | cmyk(0%, 75.8%, 74.7%, 27.1%) |
| CIE-LAB | lab(42.04, 55.45, 33.78) |
| CIE-LCH | lch(42.04, 64.93, 31.35°) |
| OKLab | oklab(52.18% 0.1607 0.0758) |
| OKLCH | oklch(52.18% 0.178 25.3) |
| XYZ | xyz(21.7037, 12.5245, 3.9634) |
| Luminance | 0.1252 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.16
Dull Red
#BB3F3F
ΔE00 3.66
Lipstick Red
#C0022F
ΔE00 4.15
Scarlet
#BE0119
ΔE00 4.23
Brown
#A52A2A
ΔE00 4.33
Cardinal
#C41E3A
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2D2F #2DBAB8
analogous
#BA2D75 #BA2D2F #BA712D
triadic
#BA2D2F #2FBA2D #2D2FBA
tetradic
#BA2D2F #75BA2D #2DBAB8 #712DBA
square
#BA2D2F #75BA2D #2DBAB8 #712DBA
split-complementary
#BA2D2F #2DBA71 #2D75BA
monochromatic
#571516 #892123 #BA2D2F #D55052 #E08182
Accessibility & contrast
On white
5.99
#BA2D2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#BA2D2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2D2F
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2D2F | 1.00 | 5.99 | 3.50 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#58502D
Deuteranopia (green-blind)
#7B6E2A
Tritanopia (blue-blind)
#CD0030
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2d2f; /* rgb */ color: rgb(186, 45, 47); /* oklch */ color: oklch(52.2% 0.178 25.3);
Tailwind
colors: {
custom: {
50: '#d87268',
500: '#ba2d2f',
950: '#000000',
},
}SCSS
$custom: #ba2d2f; $custom-light: #d87268; $custom-dark: #000000;
JSON
{
"hex": "#ba2d2f",
"rgb": {
"r": 186,
"g": 45,
"b": 47
},
"hsl": {
"h": 359.149,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.52175,
"c": 0.17766,
"h": 25.3
},
"luminance": 0.12521
}Semantic roles & 50–950 ramp
primary
#BA2D2F
secondary
#79C9C8
accent
#E4E244
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A