#BA2B4B#BA2B4B
#BA2B4B is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.178 H 13.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B4B |
|---|---|
| RGB | rgb(186, 43, 75) |
| HSL | hsl(347, 62%, 45%) |
| HSV | hsv(347, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 59.7%, 27.1%) |
| CIE-LAB | lab(42.27, 57.60, 16.97) |
| CIE-LCH | lch(42.27, 60.05, 16.42°) |
| OKLab | oklab(52.5% 0.1734 0.0418) |
| OKLCH | oklch(52.5% 0.178 13.6) |
| XYZ | xyz(22.3858, 12.6781, 7.9236) |
| Luminance | 0.1268 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.07
Rose Red
#BE013C
ΔE00 3.73
Lipstick
#D5174E
ΔE00 4.76
Rouge
#AB1239
ΔE00 5.14
Cardinal
#C41E3A
ΔE00 5.21
Dark Rose
#B5485D
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B4B #2BBA9A
analogous
#BA2B93 #BA2B4B #BA522B
triadic
#BA2B4B #4BBA2B #2B4BBA
tetradic
#BA2B4B #93BA2B #2BBA9A #522BBA
square
#BA2B4B #93BA2B #2BBA9A #522BBA
split-complementary
#BA2B4B #2BBA52 #2B93BA
monochromatic
#571423 #882037 #BA2B4B #D64C6B #E17E94
Accessibility & contrast
On white
5.94
#BA2B4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA2B4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B4B
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B4B | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53514B
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2b4b; /* rgb */ color: rgb(186, 43, 75); /* oklch */ color: oklch(52.5% 0.178 13.6);
Tailwind
colors: {
custom: {
50: '#d6727d',
500: '#ba2b4b',
950: '#000000',
},
}SCSS
$custom: #ba2b4b; $custom-light: #d6727d; $custom-dark: #000000;
JSON
{
"hex": "#ba2b4b",
"rgb": {
"r": 186,
"g": 43,
"b": 75
},
"hsl": {
"h": 346.573,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52501,
"c": 0.17835,
"h": 13.6
},
"luminance": 0.12675
}Semantic roles & 50–950 ramp
primary
#BA2B4B
secondary
#77CAB7
accent
#E6C142
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B