#BA2A4A#BA2A4A
#BA2A4A is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.4% C 0.179 H 13.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A4A |
|---|---|
| RGB | rgb(186, 42, 74) |
| HSL | hsl(347, 63%, 45%) |
| HSV | hsv(347, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 60.2%, 27.1%) |
| CIE-LAB | lab(42.14, 57.84, 17.42) |
| CIE-LCH | lch(42.14, 60.41, 16.76°) |
| OKLab | oklab(52.4% 0.174 0.0428) |
| OKLCH | oklch(52.4% 0.179 13.8) |
| XYZ | xyz(22.3160, 12.5927, 7.7328) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 2.99
Rose Red
#BE013C
ΔE00 3.50
Lipstick
#D5174E
ΔE00 4.78
Rouge
#AB1239
ΔE00 4.96
Cardinal
#C41E3A
ΔE00 5.01
Dark Rose
#B5485D
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A4A #2ABA9A
analogous
#BA2A92 #BA2A4A #BA522A
triadic
#BA2A4A #4ABA2A #2A4ABA
tetradic
#BA2A4A #92BA2A #2ABA9A #522ABA
square
#BA2A4A #92BA2A #2ABA9A #522ABA
split-complementary
#BA2A4A #2ABA52 #2A92BA
monochromatic
#561322 #881F36 #BA2A4A #D64B6A #E27D93
Accessibility & contrast
On white
5.97
#BA2A4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#BA2A4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A4A
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A4A | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52504A
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2a4a; /* rgb */ color: rgb(186, 42, 74); /* oklch */ color: oklch(52.4% 0.179 13.8);
Tailwind
colors: {
custom: {
50: '#d6717c',
500: '#ba2a4a',
950: '#000000',
},
}SCSS
$custom: #ba2a4a; $custom-light: #d6717c; $custom-dark: #000000;
JSON
{
"hex": "#ba2a4a",
"rgb": {
"r": 186,
"g": 42,
"b": 74
},
"hsl": {
"h": 346.667,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52397,
"c": 0.17918,
"h": 13.8
},
"luminance": 0.12589
}Semantic roles & 50–950 ramp
primary
#BA2A4A
secondary
#76CAB7
accent
#E6C242
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B