#BA2C48#BA2C48
#BA2C48 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.177 H 15.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2C48 |
|---|---|
| RGB | rgb(186, 44, 72) |
| HSL | hsl(348, 62%, 45%) |
| HSV | hsv(348, 76%, 73%) |
| CMYK | cmyk(0%, 76.3%, 61.3%, 27.1%) |
| CIE-LAB | lab(42.33, 57.08, 18.91) |
| CIE-LCH | lch(42.33, 60.14, 18.33°) |
| OKLab | oklab(52.52% 0.1712 0.0462) |
| OKLCH | oklch(52.52% 0.177 15.1) |
| XYZ | xyz(22.3224, 12.7116, 7.4078) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.16
Rose Red
#BE013C
ΔE00 3.29
Cardinal
#C41E3A
ΔE00 4.25
Lipstick
#D5174E
ΔE00 4.78
Rouge
#AB1239
ΔE00 4.95
Dusty Red
#B9484E
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2C48 #2CBA9E
analogous
#BA2C8F #BA2C48 #BA572C
triadic
#BA2C48 #48BA2C #2C48BA
tetradic
#BA2C48 #8FBA2C #2CBA9E #572CBA
square
#BA2C48 #8FBA2C #2CBA9E #572CBA
split-complementary
#BA2C48 #2CBA57 #2C8FBA
monochromatic
#571522 #892035 #BA2C48 #D54E69 #E18093
Accessibility & contrast
On white
5.93
#BA2C48 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#BA2C48 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2C48
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2C48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2C48 | 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)
#545148
Deuteranopia (green-blind)
#786F44
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2c48; /* rgb */ color: rgb(186, 44, 72); /* oklch */ color: oklch(52.5% 0.177 15.1);
Tailwind
colors: {
custom: {
50: '#d6727a',
500: '#ba2c48',
950: '#000000',
},
}SCSS
$custom: #ba2c48; $custom-light: #d6727a; $custom-dark: #000000;
JSON
{
"hex": "#ba2c48",
"rgb": {
"r": 186,
"g": 44,
"b": 72
},
"hsl": {
"h": 348.169,
"s": 61.739,
"l": 45.098
},
"oklch": {
"l": 0.52519,
"c": 0.17729,
"h": 15.1
},
"luminance": 0.12708
}Semantic roles & 50–950 ramp
primary
#BA2C48
secondary
#78CABA
accent
#E5C543
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160909
muted
#847B7B