#BA2B4A#BA2B4A
#BA2B4A is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.5% C 0.178 H 14.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #BA2B4A |
|---|---|
| RGB | rgb(186, 43, 74) |
| HSL | hsl(347, 62%, 45%) |
| HSV | hsv(347, 77%, 73%) |
| CMYK | cmyk(0%, 76.9%, 60.2%, 27.1%) |
| CIE-LAB | lab(42.25, 57.53, 17.57) |
| CIE-LCH | lch(42.25, 60.15, 16.98°) |
| OKLab | oklab(52.48% 0.173 0.0432) |
| OKLCH | oklch(52.48% 0.178 14) |
| XYZ | xyz(22.3519, 12.6646, 7.7448) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Ruby
#CA0147
ΔE00 3.04
Rose Red
#BE013C
ΔE00 3.54
Lipstick
#D5174E
ΔE00 4.75
Cardinal
#C41E3A
ΔE00 4.91
Rouge
#AB1239
ΔE00 5.03
Dark Rose
#B5485D
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA2B4A #2BBA9B
analogous
#BA2B91 #BA2B4A #BA542B
triadic
#BA2B4A #4ABA2B #2B4ABA
tetradic
#BA2B4A #91BA2B #2BBA9B #542BBA
square
#BA2B4A #91BA2B #2BBA9B #542BBA
split-complementary
#BA2B4A #2BBA54 #2B91BA
monochromatic
#571422 #882036 #BA2B4A #D64C6A #E17E94
Accessibility & contrast
On white
5.95
#BA2B4A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#BA2B4A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA2B4A
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA2B4A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA2B4A | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#53514A
Deuteranopia (green-blind)
#776E46
Tritanopia (blue-blind)
#CC0038
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ba2b4a; /* rgb */ color: rgb(186, 43, 74); /* oklch */ color: oklch(52.5% 0.178 14.0);
Tailwind
colors: {
custom: {
50: '#d6717c',
500: '#ba2b4a',
950: '#000000',
},
}SCSS
$custom: #ba2b4a; $custom-light: #d6717c; $custom-dark: #000000;
JSON
{
"hex": "#ba2b4a",
"rgb": {
"r": 186,
"g": 43,
"b": 74
},
"hsl": {
"h": 346.993,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.52479,
"c": 0.1783,
"h": 14
},
"luminance": 0.12661
}Semantic roles & 50–950 ramp
primary
#BA2B4A
secondary
#77CAB8
accent
#E6C242
background
#FEF7F7
surface
#FCEDEE
border
#D5C8C9
text
#160909
muted
#847B7B