#BA2A49#BA2A49
#BA2A49 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.4% C 0.179 H 14.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A49 |
|---|---|
| RGB | rgb(186, 42, 73) |
| HSL | hsl(347, 63%, 45%) |
| HSV | hsv(347, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 60.8%, 27.1%) |
| CIE-LAB | lab(42.12, 57.78, 18.02) |
| CIE-LCH | lch(42.12, 60.52, 17.32°) |
| OKLab | oklab(52.38% 0.1736 0.0442) |
| OKLCH | oklch(52.38% 0.179 14.3) |
| XYZ | xyz(22.2826, 12.5794, 7.5568) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.98
Rose Red
#BE013C
ΔE00 3.31
Cardinal
#C41E3A
ΔE00 4.72
Lipstick
#D5174E
ΔE00 4.79
Rouge
#AB1239
ΔE00 4.86
Dark Rose
#B5485D
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A49 #2ABA9B
analogous
#BA2A91 #BA2A49 #BA532A
triadic
#BA2A49 #49BA2A #2A49BA
tetradic
#BA2A49 #91BA2A #2ABA9B #532ABA
square
#BA2A49 #91BA2A #2ABA9B #532ABA
split-complementary
#BA2A49 #2ABA53 #2A91BA
monochromatic
#561322 #881F35 #BA2A49 #D64B69 #E27D93
Accessibility & contrast
On white
5.97
#BA2A49 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#BA2A49 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A49
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A49 | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535049
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2a49; /* rgb */ color: rgb(186, 42, 73); /* oklch */ color: oklch(52.4% 0.179 14.3);
Tailwind
colors: {
custom: {
50: '#d6717b',
500: '#ba2a49',
950: '#000000',
},
}SCSS
$custom: #ba2a49; $custom-light: #d6717b; $custom-dark: #000000;
JSON
{
"hex": "#ba2a49",
"rgb": {
"r": 186,
"g": 42,
"b": 73
},
"hsl": {
"h": 347.083,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52375,
"c": 0.17913,
"h": 14.3
},
"luminance": 0.12576
}Semantic roles & 50–950 ramp
primary
#BA2A49
secondary
#76CAB8
accent
#E6C342
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B