#BA404B#BA404B
#BA404B is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.6% C 0.157 H 18.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BA404B |
|---|---|
| RGB | rgb(186, 64, 75) |
| HSL | hsl(355, 49%, 49%) |
| HSV | hsv(355, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 59.7%, 27.1%) |
| CIE-LAB | lab(45.11, 49.79, 20.73) |
| CIE-LCH | lch(45.11, 53.93, 22.61°) |
| OKLab | oklab(54.61% 0.1484 0.0506) |
| OKLCH | oklch(54.61% 0.157 18.8) |
| XYZ | xyz(23.3553, 14.6171, 8.2468) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 1.71
Dull Red
#BB3F3F
ΔE00 3.79
Cardinal
#C41E3A
ΔE00 4.70
Reddish
#C44240
ΔE00 5.00
Dark Rose
#B5485D
ΔE00 5.21
Lipstick
#D5174E
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA404B #40BAAF
analogous
#BA4088 #BA404B #BA7240
triadic
#BA404B #4BBA40 #404BBA
tetradic
#BA404B #88BA40 #40BAAF #7240BA
square
#BA404B #88BA40 #40BAAF #7240BA
split-complementary
#BA404B #40BA72 #4088BA
monochromatic
#5F2126 #8C3039 #BA404B #CC6B74 #DC999F
Accessibility & contrast
On white
5.35
#BA404B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#BA404B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA404B
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA404B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA404B | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5B4B
Deuteranopia (green-blind)
#7E7448
Tritanopia (blue-blind)
#CB2645
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba404b; /* rgb */ color: rgb(186, 64, 75); /* oklch */ color: oklch(54.6% 0.157 18.8);
Tailwind
colors: {
custom: {
50: '#d57b7d',
500: '#ba404b',
950: '#000000',
},
}SCSS
$custom: #ba404b; $custom-light: #d57b7d; $custom-dark: #000000;
JSON
{
"hex": "#ba404b",
"rgb": {
"r": 186,
"g": 64,
"b": 75
},
"hsl": {
"h": 354.59,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54607,
"c": 0.1568,
"h": 18.8
},
"luminance": 0.14614
}Semantic roles & 50–950 ramp
primary
#BA404B
secondary
#8EC8C2
accent
#D8CC4F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A09
muted
#837C7B