#BA2A4B#BA2A4B
#BA2A4B is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.4% C 0.179 H 13.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A4B |
|---|---|
| RGB | rgb(186, 42, 75) |
| HSL | hsl(346, 63%, 45%) |
| HSV | hsv(346, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 59.7%, 27.1%) |
| CIE-LAB | lab(42.16, 57.91, 16.82) |
| CIE-LCH | lch(42.16, 60.30, 16.20°) |
| OKLab | oklab(52.42% 0.1744 0.0415) |
| OKLCH | oklch(52.42% 0.179 13.4) |
| XYZ | xyz(22.3499, 12.6063, 7.9117) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.03
Rose Red
#BE013C
ΔE00 3.70
Lipstick
#D5174E
ΔE00 4.80
Rouge
#AB1239
ΔE00 5.08
Cardinal
#C41E3A
ΔE00 5.30
Raspberry (survey)
#B00149
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A4B #2ABA99
analogous
#BA2A93 #BA2A4B #BA512A
triadic
#BA2A4B #4BBA2A #2A4BBA
tetradic
#BA2A4B #93BA2A #2ABA99 #512ABA
square
#BA2A4B #93BA2A #2ABA99 #512ABA
split-complementary
#BA2A4B #2ABA51 #2A93BA
monochromatic
#561323 #881F37 #BA2A4B #D64B6B #E27D94
Accessibility & contrast
On white
5.96
#BA2A4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#BA2A4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A4B
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A4B | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52514B
Deuteranopia (green-blind)
#776E47
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ba2a4b; /* rgb */ color: rgb(186, 42, 75); /* oklch */ color: oklch(52.4% 0.179 13.4);
Tailwind
colors: {
custom: {
50: '#d6717d',
500: '#ba2a4b',
950: '#000000',
},
}SCSS
$custom: #ba2a4b; $custom-light: #d6717d; $custom-dark: #000000;
JSON
{
"hex": "#ba2a4b",
"rgb": {
"r": 186,
"g": 42,
"b": 75
},
"hsl": {
"h": 346.25,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52419,
"c": 0.17925,
"h": 13.4
},
"luminance": 0.12603
}Semantic roles & 50–950 ramp
primary
#BA2A4B
secondary
#76CAB7
accent
#E6C042
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B