#BA2948#BA2948
#BA2948 is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.3% C 0.180 H 14.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2948 |
|---|---|
| RGB | rgb(186, 41, 72) |
| HSL | hsl(347, 64%, 45%) |
| HSV | hsv(347, 78%, 73%) |
| CMYK | cmyk(0%, 78%, 61.3%, 27.1%) |
| CIE-LAB | lab(41.99, 58.02, 18.48) |
| CIE-LCH | lch(41.99, 60.89, 17.66°) |
| OKLab | oklab(52.27% 0.1742 0.0451) |
| OKLCH | oklch(52.27% 0.18 14.5) |
| XYZ | xyz(22.2146, 12.4962, 7.3719) |
| Luminance | 0.1249 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.94
Rose Red
#BE013C
ΔE00 3.10
Cardinal
#C41E3A
ΔE00 4.52
Rouge
#AB1239
ΔE00 4.70
Lipstick
#D5174E
ΔE00 4.83
Raspberry (survey)
#B00149
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2948 #29BA9B
analogous
#BA2991 #BA2948 #BA5229
triadic
#BA2948 #48BA29 #2948BA
tetradic
#BA2948 #91BA29 #29BA9B #5229BA
square
#BA2948 #91BA29 #29BA9B #5229BA
split-complementary
#BA2948 #29BA52 #2991BA
monochromatic
#561321 #881E35 #BA2948 #D74968 #E27B91
Accessibility & contrast
On white
6.00
#BA2948 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#BA2948 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2948
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2948 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 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: #ba2948; /* rgb */ color: rgb(186, 41, 72); /* oklch */ color: oklch(52.3% 0.180 14.5);
Tailwind
colors: {
custom: {
50: '#d6717a',
500: '#ba2948',
950: '#000000',
},
}SCSS
$custom: #ba2948; $custom-light: #d6717a; $custom-dark: #000000;
JSON
{
"hex": "#ba2948",
"rgb": {
"r": 186,
"g": 41,
"b": 72
},
"hsl": {
"h": 347.172,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.52273,
"c": 0.17993,
"h": 14.5
},
"luminance": 0.12493
}Semantic roles & 50–950 ramp
primary
#BA2948
secondary
#75CAB8
accent
#E7C341
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B