#BA2B49#BA2B49
#BA2B49 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.5% C 0.178 H 14.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B49 |
|---|---|
| RGB | rgb(186, 43, 73) |
| HSL | hsl(347, 62%, 45%) |
| HSV | hsv(347, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 60.8%, 27.1%) |
| CIE-LAB | lab(42.23, 57.47, 18.17) |
| CIE-LCH | lch(42.23, 60.27, 17.54°) |
| OKLab | oklab(52.46% 0.1726 0.0445) |
| OKLCH | oklch(52.46% 0.178 14.5) |
| XYZ | xyz(22.3185, 12.6512, 7.5688) |
| Luminance | 0.1265 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.04
Rose Red
#BE013C
ΔE00 3.36
Cardinal
#C41E3A
ΔE00 4.62
Lipstick
#D5174E
ΔE00 4.76
Rouge
#AB1239
ΔE00 4.93
Dark Rose
#B5485D
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B49 #2BBA9C
analogous
#BA2B90 #BA2B49 #BA552B
triadic
#BA2B49 #49BA2B #2B49BA
tetradic
#BA2B49 #90BA2B #2BBA9C #552BBA
square
#BA2B49 #90BA2B #2BBA9C #552BBA
split-complementary
#BA2B49 #2BBA55 #2B90BA
monochromatic
#571422 #882035 #BA2B49 #D64C69 #E17E93
Accessibility & contrast
On white
5.95
#BA2B49 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2B49 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B49
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B49 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535149
Deuteranopia (green-blind)
#776E45
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2b49; /* rgb */ color: rgb(186, 43, 73); /* oklch */ color: oklch(52.5% 0.178 14.5);
Tailwind
colors: {
custom: {
50: '#d6717b',
500: '#ba2b49',
950: '#000000',
},
}SCSS
$custom: #ba2b49; $custom-light: #d6717b; $custom-dark: #000000;
JSON
{
"hex": "#ba2b49",
"rgb": {
"r": 186,
"g": 43,
"b": 73
},
"hsl": {
"h": 347.413,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52457,
"c": 0.17824,
"h": 14.5
},
"luminance": 0.12648
}Semantic roles & 50–950 ramp
primary
#BA2B49
secondary
#77CAB8
accent
#E6C342
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B