#BA2C47#BA2C47
#BA2C47 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.177 H 15.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2C47 |
|---|---|
| RGB | rgb(186, 44, 71) |
| HSL | hsl(349, 62%, 45%) |
| HSV | hsv(349, 76%, 73%) |
| CMYK | cmyk(0%, 76.3%, 61.8%, 27.1%) |
| CIE-LAB | lab(42.31, 57.02, 19.51) |
| CIE-LCH | lch(42.31, 60.27, 18.89°) |
| OKLab | oklab(52.5% 0.1708 0.0475) |
| OKLCH | oklch(52.5% 0.177 15.5) |
| XYZ | xyz(22.2900, 12.6987, 7.2374) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 3.18
Ruby
#CA0147
ΔE00 3.24
Cardinal
#C41E3A
ΔE00 3.96
Lipstick
#D5174E
ΔE00 4.84
Rouge
#AB1239
ΔE00 4.91
Dusty Red
#B9484E
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2C47 #2CBA9F
analogous
#BA2C8E #BA2C47 #BA582C
triadic
#BA2C47 #47BA2C #2C47BA
tetradic
#BA2C47 #8EBA2C #2CBA9F #582CBA
square
#BA2C47 #8EBA2C #2CBA9F #582CBA
split-complementary
#BA2C47 #2CBA58 #2C8EBA
monochromatic
#571521 #892034 #BA2C47 #D54E68 #E18092
Accessibility & contrast
On white
5.93
#BA2C47 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA2C47 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2C47
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2C47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2C47 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545147
Deuteranopia (green-blind)
#786F43
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2c47; /* rgb */ color: rgb(186, 44, 71); /* oklch */ color: oklch(52.5% 0.177 15.5);
Tailwind
colors: {
custom: {
50: '#d6727a',
500: '#ba2c47',
950: '#000000',
},
}SCSS
$custom: #ba2c47; $custom-light: #d6727a; $custom-dark: #000000;
JSON
{
"hex": "#ba2c47",
"rgb": {
"r": 186,
"g": 44,
"b": 71
},
"hsl": {
"h": 348.592,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.52498,
"c": 0.17726,
"h": 15.5
},
"luminance": 0.12695
}Semantic roles & 50–950 ramp
primary
#BA2C47
secondary
#78CABA
accent
#E5C643
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B