#BA2E4A#BA2E4A
#BA2E4A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.176 H 14.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2E4A |
|---|---|
| RGB | rgb(186, 46, 74) |
| HSL | hsl(348, 60%, 45%) |
| HSV | hsv(348, 75%, 73%) |
| CMYK | cmyk(0%, 75.3%, 60.2%, 27.1%) |
| CIE-LAB | lab(42.60, 56.56, 18.03) |
| CIE-LCH | lch(42.60, 59.37, 17.68°) |
| OKLab | oklab(52.73% 0.1699 0.0442) |
| OKLCH | oklch(52.73% 0.176 14.6) |
| XYZ | xyz(22.4650, 12.8908, 7.7825) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.25
Rose Red
#BE013C
ΔE00 3.70
Cardinal
#C41E3A
ΔE00 4.65
Lipstick
#D5174E
ΔE00 4.70
Rouge
#AB1239
ΔE00 5.27
Dark Rose
#B5485D
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2E4A #2EBA9E
analogous
#BA2E90 #BA2E4A #BA582E
triadic
#BA2E4A #4ABA2E #2E4ABA
tetradic
#BA2E4A #90BA2E #2EBA9E #582EBA
square
#BA2E4A #90BA2E #2EBA9E #582EBA
split-complementary
#BA2E4A #2EBA58 #2E90BA
monochromatic
#581623 #892236 #BA2E4A #D4516B #E08295
Accessibility & contrast
On white
5.87
#BA2E4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#BA2E4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2E4A
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2E4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2E4A | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#54524A
Deuteranopia (green-blind)
#786F46
Tritanopia (blue-blind)
#CC003A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ba2e4a; /* rgb */ color: rgb(186, 46, 74); /* oklch */ color: oklch(52.7% 0.176 14.6);
Tailwind
colors: {
custom: {
50: '#d6737c',
500: '#ba2e4a',
950: '#000000',
},
}SCSS
$custom: #ba2e4a; $custom-light: #d6737c; $custom-dark: #000000;
JSON
{
"hex": "#ba2e4a",
"rgb": {
"r": 186,
"g": 46,
"b": 74
},
"hsl": {
"h": 348,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.52734,
"c": 0.17555,
"h": 14.6
},
"luminance": 0.12888
}Semantic roles & 50–950 ramp
primary
#BA2E4A
secondary
#7BC9B9
accent
#E3C444
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B