#BA2B48#BA2B48
#BA2B48 is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.4% C 0.178 H 14.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B48 |
|---|---|
| RGB | rgb(186, 43, 72) |
| HSL | hsl(348, 62%, 45%) |
| HSV | hsv(348, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 61.3%, 27.1%) |
| CIE-LAB | lab(42.21, 57.40, 18.76) |
| CIE-LCH | lch(42.21, 60.39, 18.10°) |
| OKLab | oklab(52.43% 0.1722 0.0458) |
| OKLCH | oklch(52.43% 0.178 14.9) |
| XYZ | xyz(22.2856, 12.6380, 7.3956) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.08
Rose Red
#BE013C
ΔE00 3.21
Cardinal
#C41E3A
ΔE00 4.34
Lipstick
#D5174E
ΔE00 4.79
Rouge
#AB1239
ΔE00 4.86
Dusty Red
#B9484E
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B48 #2BBA9D
analogous
#BA2B90 #BA2B48 #BA552B
triadic
#BA2B48 #48BA2B #2B48BA
tetradic
#BA2B48 #90BA2B #2BBA9D #552BBA
square
#BA2B48 #90BA2B #2BBA9D #552BBA
split-complementary
#BA2B48 #2BBA55 #2B90BA
monochromatic
#571422 #882035 #BA2B48 #D64C68 #E17E92
Accessibility & contrast
On white
5.95
#BA2B48 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2B48 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B48
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B48 | 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)
#535148
Deuteranopia (green-blind)
#786E44
Tritanopia (blue-blind)
#CC0037
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2b48; /* rgb */ color: rgb(186, 43, 72); /* oklch */ color: oklch(52.4% 0.178 14.9);
Tailwind
colors: {
custom: {
50: '#d6717a',
500: '#ba2b48',
950: '#000000',
},
}SCSS
$custom: #ba2b48; $custom-light: #d6717a; $custom-dark: #000000;
JSON
{
"hex": "#ba2b48",
"rgb": {
"r": 186,
"g": 43,
"b": 72
},
"hsl": {
"h": 347.832,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52435,
"c": 0.17819,
"h": 14.9
},
"luminance": 0.12635
}Semantic roles & 50–950 ramp
primary
#BA2B48
secondary
#77CAB9
accent
#E6C442
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B