#BA404A#BA404A
#BA404A is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.6% C 0.157 H 19.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #BA404A |
|---|---|
| RGB | rgb(186, 64, 74) |
| HSL | hsl(355, 49%, 49%) |
| HSV | hsv(355, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 60.2%, 27.1%) |
| CIE-LAB | lab(45.09, 49.72, 21.32) |
| CIE-LCH | lch(45.09, 54.10, 23.21°) |
| OKLab | oklab(54.59% 0.148 0.0519) |
| OKLCH | oklch(54.59% 0.157 19.3) |
| XYZ | xyz(23.3213, 14.6035, 8.0679) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 1.65
Dull Red
#BB3F3F
ΔE00 3.46
Cardinal
#C41E3A
ΔE00 4.58
Reddish
#C44240
ΔE00 4.70
Dark Rose
#B5485D
ΔE00 5.52
Lipstick
#D5174E
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA404A #40BAB0
analogous
#BA4087 #BA404A #BA7340
triadic
#BA404A #4ABA40 #404ABA
tetradic
#BA404A #87BA40 #40BAB0 #7340BA
square
#BA404A #87BA40 #40BAB0 #7340BA
split-complementary
#BA404A #40BA73 #4087BA
monochromatic
#5F2126 #8C3038 #BA404A #CC6B73 #DC999E
Accessibility & contrast
On white
5.36
#BA404A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#BA404A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA404A
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA404A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA404A | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5A4A
Deuteranopia (green-blind)
#7E7447
Tritanopia (blue-blind)
#CB2644
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba404a; /* rgb */ color: rgb(186, 64, 74); /* oklch */ color: oklch(54.6% 0.157 19.3);
Tailwind
colors: {
custom: {
50: '#d57b7c',
500: '#ba404a',
950: '#000000',
},
}SCSS
$custom: #ba404a; $custom-light: #d57b7c; $custom-dark: #000000;
JSON
{
"hex": "#ba404a",
"rgb": {
"r": 186,
"g": 64,
"b": 74
},
"hsl": {
"h": 355.082,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54586,
"c": 0.15684,
"h": 19.3
},
"luminance": 0.146
}Semantic roles & 50–950 ramp
primary
#BA404A
secondary
#8EC8C3
accent
#D8CD4F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A09
muted
#837C7B