#BA2D29#BA2D29
#BA2D29 is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.1% C 0.178 H 27.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2D29 |
|---|---|
| RGB | rgb(186, 45, 41) |
| HSL | hsl(2, 64%, 45%) |
| HSV | hsv(2, 78%, 73%) |
| CMYK | cmyk(0%, 75.8%, 78%, 27.1%) |
| CIE-LAB | lab(41.97, 55.22, 37.16) |
| CIE-LCH | lch(41.97, 66.55, 33.94°) |
| OKLab | oklab(52.1% 0.1587 0.0816) |
| OKLCH | oklch(52.1% 0.178 27.2) |
| XYZ | xyz(21.5909, 12.4794, 3.3693) |
| Luminance | 0.1248 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.54
Scarlet
#BE0119
ΔE00 3.38
Brown
#A52A2A
ΔE00 4.69
Dull Red
#BB3F3F
ΔE00 4.76
Lipstick Red
#C0022F
ΔE00 5.51
Reddish
#C44240
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2D29 #29B6BA
analogous
#BA296E #BA2D29 #BA7629
triadic
#BA2D29 #29BA2D #2D29BA
tetradic
#BA2D29 #6EBA29 #29B6BA #7629BA
square
#BA2D29 #6EBA29 #29B6BA #7629BA
split-complementary
#BA2D29 #29BA76 #296EBA
monochromatic
#561513 #88211E #BA2D29 #D74D49 #E27E7B
Accessibility & contrast
On white
6.01
#BA2D29 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#BA2D29 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2D29
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2D29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2D29 | 1.00 | 6.01 | 3.50 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#584F27
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#CD002E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2d29; /* rgb */ color: rgb(186, 45, 41); /* oklch */ color: oklch(52.1% 0.178 27.2);
Tailwind
colors: {
custom: {
50: '#d87263',
500: '#ba2d29',
950: '#000000',
},
}SCSS
$custom: #ba2d29; $custom-light: #d87263; $custom-dark: #000000;
JSON
{
"hex": "#ba2d29",
"rgb": {
"r": 186,
"g": 45,
"b": 41
},
"hsl": {
"h": 1.655,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52101,
"c": 0.17841,
"h": 27.2
},
"luminance": 0.12476
}Semantic roles & 50–950 ramp
primary
#BA2D29
secondary
#75C8CA
accent
#E2E741
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A