#BA2848#BA2848
#BA2848 is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.2% C 0.181 H 14.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2848 |
|---|---|
| RGB | rgb(186, 40, 72) |
| HSL | hsl(347, 65%, 44%) |
| HSV | hsv(347, 78%, 73%) |
| CMYK | cmyk(0%, 78.5%, 61.3%, 27.1%) |
| CIE-LAB | lab(41.89, 58.31, 18.33) |
| CIE-LCH | lch(41.89, 61.13, 17.45°) |
| OKLab | oklab(52.2% 0.1751 0.0448) |
| OKLCH | oklch(52.2% 0.181 14.4) |
| XYZ | xyz(22.1805, 12.4279, 7.3605) |
| Luminance | 0.1242 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.89
Rose Red
#BE013C
ΔE00 3.05
Cardinal
#C41E3A
ΔE00 4.62
Rouge
#AB1239
ΔE00 4.63
Lipstick
#D5174E
ΔE00 4.86
Raspberry (survey)
#B00149
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2848 #28BA9A
analogous
#BA2891 #BA2848 #BA5128
triadic
#BA2848 #48BA28 #2848BA
tetradic
#BA2848 #91BA28 #28BA9A #5128BA
square
#BA2848 #91BA28 #28BA9A #5128BA
split-complementary
#BA2848 #28BA51 #2891BA
monochromatic
#551221 #881D35 #BA2848 #D84867 #E27A91
Accessibility & contrast
On white
6.03
#BA2848 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#BA2848 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2848
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2848 | 1.00 | 6.03 | 3.49 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#525048
Deuteranopia (green-blind)
#776E44
Tritanopia (blue-blind)
#CC0036
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2848; /* rgb */ color: rgb(186, 40, 72); /* oklch */ color: oklch(52.2% 0.181 14.4);
Tailwind
colors: {
custom: {
50: '#d6707a',
500: '#ba2848',
950: '#000000',
},
}SCSS
$custom: #ba2848; $custom-light: #d6707a; $custom-dark: #000000;
JSON
{
"hex": "#ba2848",
"rgb": {
"r": 186,
"g": 40,
"b": 72
},
"hsl": {
"h": 346.849,
"s": 64.602,
"l": 44.314
},
"oklch": {
"l": 0.52195,
"c": 0.18078,
"h": 14.4
},
"luminance": 0.12425
}Semantic roles & 50–950 ramp
primary
#BA2848
secondary
#73CAB7
accent
#E8C340
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B