#BA2E48#BA2E48
#BA2E48 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.175 H 15.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E48 |
|---|---|
| RGB | rgb(186, 46, 72) |
| HSL | hsl(349, 60%, 45%) |
| HSV | hsv(349, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 61.3%, 27.1%) |
| CIE-LAB | lab(42.56, 56.43, 19.22) |
| CIE-LCH | lch(42.56, 59.62, 18.81°) |
| OKLab | oklab(52.69% 0.1691 0.0469) |
| OKLCH | oklch(52.69% 0.175 15.5) |
| XYZ | xyz(22.3987, 12.8643, 7.4333) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.36
Rose Red
#BE013C
ΔE00 3.46
Cardinal
#C41E3A
ΔE00 4.08
Lipstick
#D5174E
ΔE00 4.78
Rouge
#AB1239
ΔE00 5.16
Dusty Red
#B9484E
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E48 #2EBAA0
analogous
#BA2E8E #BA2E48 #BA5A2E
triadic
#BA2E48 #48BA2E #2E48BA
tetradic
#BA2E48 #8EBA2E #2EBAA0 #5A2EBA
square
#BA2E48 #8EBA2E #2EBAA0 #5A2EBA
split-complementary
#BA2E48 #2EBA5A #2E8EBA
monochromatic
#581622 #892235 #BA2E48 #D45169 #E08294
Accessibility & contrast
On white
5.88
#BA2E48 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BA2E48 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E48
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E48 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#555248
Deuteranopia (green-blind)
#786F44
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2e48; /* rgb */ color: rgb(186, 46, 72); /* oklch */ color: oklch(52.7% 0.175 15.5);
Tailwind
colors: {
custom: {
50: '#d6737a',
500: '#ba2e48',
950: '#000000',
},
}SCSS
$custom: #ba2e48; $custom-light: #d6737a; $custom-dark: #000000;
JSON
{
"hex": "#ba2e48",
"rgb": {
"r": 186,
"g": 46,
"b": 72
},
"hsl": {
"h": 348.857,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52691,
"c": 0.17547,
"h": 15.5
},
"luminance": 0.12861
}Semantic roles & 50–950 ramp
primary
#BA2E48
secondary
#7BC9BB
accent
#E3C644
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B