#BA404E#BA404E
#BA404E is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.7% C 0.157 H 17.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #BA404E |
|---|---|
| RGB | rgb(186, 64, 78) |
| HSL | hsl(353, 49%, 49%) |
| HSV | hsv(353, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 58.1%, 27.1%) |
| CIE-LAB | lab(45.16, 50.01, 18.98) |
| CIE-LCH | lch(45.16, 53.49, 20.79°) |
| OKLab | oklab(54.67% 0.1496 0.0467) |
| OKLCH | oklch(54.67% 0.157 17.3) |
| XYZ | xyz(23.4604, 14.6591, 8.8004) |
| Luminance | 0.1466 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.20
Dark Rose
#B5485D
ΔE00 4.30
Dull Red
#BB3F3F
ΔE00 4.78
Cardinal
#C41E3A
ΔE00 5.16
Lipstick
#D5174E
ΔE00 5.54
Ruby
#CA0147
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA404E #40BAAC
analogous
#BA408B #BA404E #BA6F40
triadic
#BA404E #4EBA40 #404EBA
tetradic
#BA404E #8BBA40 #40BAAC #6F40BA
square
#BA404E #8BBA40 #40BAAC #6F40BA
split-complementary
#BA404E #40BA6F #408BBA
monochromatic
#5F2128 #8C303B #BA404E #CC6B76 #DC99A0
Accessibility & contrast
On white
5.34
#BA404E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#BA404E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA404E
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA404E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA404E | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5B4E
Deuteranopia (green-blind)
#7E744B
Tritanopia (blue-blind)
#CB2746
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba404e; /* rgb */ color: rgb(186, 64, 78); /* oklch */ color: oklch(54.7% 0.157 17.3);
Tailwind
colors: {
custom: {
50: '#d57c7f',
500: '#ba404e',
950: '#000000',
},
}SCSS
$custom: #ba404e; $custom-light: #d57c7f; $custom-dark: #000000;
JSON
{
"hex": "#ba404e",
"rgb": {
"r": 186,
"g": 64,
"b": 78
},
"hsl": {
"h": 353.115,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54669,
"c": 0.15673,
"h": 17.3
},
"luminance": 0.14656
}Semantic roles & 50–950 ramp
primary
#BA404E
secondary
#8EC8C1
accent
#D8C94F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C