#BA2548#BA2548
#BA2548 is a mid, vivid red. Relative luminance 0.122; OKLCH L 52.0% C 0.183 H 13.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2548 |
|---|---|
| RGB | rgb(186, 37, 72) |
| HSL | hsl(346, 67%, 44%) |
| HSV | hsv(346, 80%, 73%) |
| CMYK | cmyk(0%, 80.1%, 61.3%, 27.1%) |
| CIE-LAB | lab(41.58, 59.17, 17.93) |
| CIE-LCH | lch(41.58, 61.83, 16.86°) |
| OKLab | oklab(51.97% 0.1779 0.0439) |
| OKLCH | oklch(51.97% 0.183 13.9) |
| XYZ | xyz(22.0833, 12.2334, 7.3281) |
| Luminance | 0.1223 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.78
Rose Red
#BE013C
ΔE00 2.97
Rouge
#AB1239
ΔE00 4.45
Cardinal
#C41E3A
ΔE00 4.91
Lipstick
#D5174E
ΔE00 4.96
Raspberry (survey)
#B00149
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2548 #25BA97
analogous
#BA2592 #BA2548 #BA4C25
triadic
#BA2548 #48BA25 #2548BA
tetradic
#BA2548 #92BA25 #25BA97 #4C25BA
square
#BA2548 #92BA25 #25BA97 #4C25BA
split-complementary
#BA2548 #25BA4C #2592BA
monochromatic
#541120 #871B34 #BA2548 #DA4366 #E47690
Accessibility & contrast
On white
6.09
#BA2548 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#BA2548 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2548
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2548 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504F48
Deuteranopia (green-blind)
#766D44
Tritanopia (blue-blind)
#CC0034
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #ba2548; /* rgb */ color: rgb(186, 37, 72); /* oklch */ color: oklch(52.0% 0.183 13.9);
Tailwind
colors: {
custom: {
50: '#d66f7a',
500: '#ba2548',
950: '#000000',
},
}SCSS
$custom: #ba2548; $custom-light: #d66f7a; $custom-dark: #000000;
JSON
{
"hex": "#ba2548",
"rgb": {
"r": 186,
"g": 37,
"b": 72
},
"hsl": {
"h": 345.906,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.51971,
"c": 0.18324,
"h": 13.9
},
"luminance": 0.1223
}Semantic roles & 50–950 ramp
primary
#BA2548
secondary
#70CBB6
accent
#EAC13E
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160809
muted
#847B7B