#BA404C#BA404C
#BA404C is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.6% C 0.157 H 18.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BA404C |
|---|---|
| RGB | rgb(186, 64, 76) |
| HSL | hsl(354, 49%, 49%) |
| HSV | hsv(354, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 59.1%, 27.1%) |
| CIE-LAB | lab(45.12, 49.86, 20.15) |
| CIE-LCH | lch(45.12, 53.78, 22.01°) |
| OKLab | oklab(54.63% 0.1488 0.0493) |
| OKLCH | oklch(54.63% 0.157 18.3) |
| XYZ | xyz(23.3898, 14.6309, 8.4284) |
| Luminance | 0.1463 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 1.83
Dull Red
#BB3F3F
ΔE00 4.12
Cardinal
#C41E3A
ΔE00 4.83
Dark Rose
#B5485D
ΔE00 4.90
Reddish
#C44240
ΔE00 5.29
Lipstick
#D5174E
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA404C #40BAAE
analogous
#BA4089 #BA404C #BA7140
triadic
#BA404C #4CBA40 #404CBA
tetradic
#BA404C #89BA40 #40BAAE #7140BA
square
#BA404C #89BA40 #40BAAE #7140BA
split-complementary
#BA404C #40BA71 #4089BA
monochromatic
#5F2127 #8C3039 #BA404C #CC6B75 #DC999F
Accessibility & contrast
On white
5.35
#BA404C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#BA404C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA404C
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA404C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA404C | 1.00 | 5.35 | 3.93 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5B4C
Deuteranopia (green-blind)
#7E7449
Tritanopia (blue-blind)
#CB2745
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba404c; /* rgb */ color: rgb(186, 64, 76); /* oklch */ color: oklch(54.6% 0.157 18.3);
Tailwind
colors: {
custom: {
50: '#d57b7d',
500: '#ba404c',
950: '#000000',
},
}SCSS
$custom: #ba404c; $custom-light: #d57b7d; $custom-dark: #000000;
JSON
{
"hex": "#ba404c",
"rgb": {
"r": 186,
"g": 64,
"b": 76
},
"hsl": {
"h": 354.098,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54627,
"c": 0.15677,
"h": 18.3
},
"luminance": 0.14628
}Semantic roles & 50–950 ramp
primary
#BA404C
secondary
#8EC8C2
accent
#D8CB4F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A09
muted
#837C7B