#BA4042#BA4042
#BA4042 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.4% C 0.157 H 23.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4042 |
|---|---|
| RGB | rgb(186, 64, 66) |
| HSL | hsl(359, 49%, 49%) |
| HSV | hsv(359, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 64.5%, 27.1%) |
| CIE-LAB | lab(44.95, 49.19, 25.97) |
| CIE-LCH | lch(44.95, 55.63, 27.83°) |
| OKLab | oklab(54.44% 0.1449 0.0618) |
| OKLCH | oklch(54.44% 0.157 23.1) |
| XYZ | xyz(23.0688, 14.5024, 6.7377) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 0.86
Reddish
#C44240
ΔE00 2.67
Dusty Red
#B9484E
ΔE00 2.93
Cardinal
#C41E3A
ΔE00 4.58
Cherry (survey)
#CF0234
ΔE00 5.64
Faded Red
#D3494E
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4042 #40BAB8
analogous
#BA407F #BA4042 #BA7B40
triadic
#BA4042 #42BA40 #4042BA
tetradic
#BA4042 #7FBA40 #40BAB8 #7B40BA
square
#BA4042 #7FBA40 #40BAB8 #7B40BA
split-complementary
#BA4042 #40BA7B #407FBA
monochromatic
#5F2122 #8C3032 #BA4042 #CC6B6D #DC999A
Accessibility & contrast
On white
5.38
#BA4042 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#BA4042 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4042
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4042 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605A41
Deuteranopia (green-blind)
#7F743F
Tritanopia (blue-blind)
#CC2442
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba4042; /* rgb */ color: rgb(186, 64, 66); /* oklch */ color: oklch(54.4% 0.157 23.1);
Tailwind
colors: {
custom: {
50: '#d67b76',
500: '#ba4042',
950: '#000000',
},
}SCSS
$custom: #ba4042; $custom-light: #d67b76; $custom-dark: #000000;
JSON
{
"hex": "#ba4042",
"rgb": {
"r": 186,
"g": 64,
"b": 66
},
"hsl": {
"h": 359.016,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.54435,
"c": 0.15747,
"h": 23.1
},
"luminance": 0.14499
}Semantic roles & 50–950 ramp
primary
#BA4042
secondary
#8EC8C7
accent
#D8D64F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B