#BA2A4C#BA2A4C
#BA2A4C is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.4% C 0.179 H 12.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2A4C |
|---|---|
| RGB | rgb(186, 42, 76) |
| HSL | hsl(346, 63%, 45%) |
| HSV | hsv(346, 77%, 73%) |
| CMYK | cmyk(0%, 77.4%, 59.1%, 27.1%) |
| CIE-LAB | lab(42.19, 57.97, 16.23) |
| CIE-LCH | lch(42.19, 60.20, 15.64°) |
| OKLab | oklab(52.44% 0.1748 0.0401) |
| OKLCH | oklch(52.44% 0.179 12.9) |
| XYZ | xyz(22.3844, 12.6201, 8.0933) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.10
Rose Red
#BE013C
ΔE00 3.91
Lipstick
#D5174E
ΔE00 4.84
Rouge
#AB1239
ΔE00 5.21
Raspberry (survey)
#B00149
ΔE00 5.26
Dark Rose
#B5485D
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2A4C #2ABA98
analogous
#BA2A94 #BA2A4C #BA502A
triadic
#BA2A4C #4CBA2A #2A4CBA
tetradic
#BA2A4C #94BA2A #2ABA98 #502ABA
square
#BA2A4C #94BA2A #2ABA98 #502ABA
split-complementary
#BA2A4C #2ABA50 #2A94BA
monochromatic
#561323 #881F38 #BA2A4C #D64B6C #E27D95
Accessibility & contrast
On white
5.96
#BA2A4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#BA2A4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2A4C
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2A4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2A4C | 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)
#52514C
Deuteranopia (green-blind)
#776E48
Tritanopia (blue-blind)
#CC0039
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2a4c; /* rgb */ color: rgb(186, 42, 76); /* oklch */ color: oklch(52.4% 0.179 12.9);
Tailwind
colors: {
custom: {
50: '#d6717d',
500: '#ba2a4c',
950: '#000000',
},
}SCSS
$custom: #ba2a4c; $custom-light: #d6717d; $custom-dark: #000000;
JSON
{
"hex": "#ba2a4c",
"rgb": {
"r": 186,
"g": 42,
"b": 76
},
"hsl": {
"h": 345.833,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.52442,
"c": 0.17932,
"h": 12.9
},
"luminance": 0.12617
}Semantic roles & 50–950 ramp
primary
#BA2A4C
secondary
#76CAB6
accent
#E6BF42
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B