#BA404F#BA404F
#BA404F is a mid, vivid red. Relative luminance 0.147; OKLCH L 54.7% C 0.157 H 16.8°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #BA404F |
|---|---|
| RGB | rgb(186, 64, 79) |
| HSL | hsl(353, 49%, 49%) |
| HSV | hsv(353, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 57.5%, 27.1%) |
| CIE-LAB | lab(45.18, 50.08, 18.40) |
| CIE-LCH | lch(45.18, 53.35, 20.17°) |
| OKLab | oklab(54.69% 0.15 0.0454) |
| OKLCH | oklch(54.69% 0.157 16.8) |
| XYZ | xyz(23.4965, 14.6735, 8.9906) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.42
Dark Rose
#B5485D
ΔE00 4.00
Dull Red
#BB3F3F
ΔE00 5.11
Cardinal
#C41E3A
ΔE00 5.34
Lipstick
#D5174E
ΔE00 5.45
Ruby
#CA0147
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA404F #40BAAB
analogous
#BA408C #BA404F #BA6E40
triadic
#BA404F #4FBA40 #404FBA
tetradic
#BA404F #8CBA40 #40BAAB #6E40BA
square
#BA404F #8CBA40 #40BAAB #6E40BA
split-complementary
#BA404F #40BA6E #408CBA
monochromatic
#5F2128 #8C303C #BA404F #CC6B77 #DC99A1
Accessibility & contrast
On white
5.34
#BA404F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#BA404F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA404F
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA404F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA404F | 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)
#5E5B4F
Deuteranopia (green-blind)
#7D744C
Tritanopia (blue-blind)
#CB2846
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba404f; /* rgb */ color: rgb(186, 64, 79); /* oklch */ color: oklch(54.7% 0.157 16.8);
Tailwind
colors: {
custom: {
50: '#d57c80',
500: '#ba404f',
950: '#000000',
},
}SCSS
$custom: #ba404f; $custom-light: #d57c80; $custom-dark: #000000;
JSON
{
"hex": "#ba404f",
"rgb": {
"r": 186,
"g": 64,
"b": 79
},
"hsl": {
"h": 352.623,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54691,
"c": 0.15673,
"h": 16.8
},
"luminance": 0.1467
}Semantic roles & 50–950 ramp
primary
#BA404F
secondary
#8EC8C1
accent
#D8C84F
background
#FDF7F7
surface
#FBEEEE
border
#D4C9C9
text
#150A0A
muted
#837C7C