#BA5040#BA5040
#BA5040 is a mid, vivid red. Relative luminance 0.165; OKLCH L 56.5% C 0.141 H 30.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5040 |
|---|---|
| RGB | rgb(186, 80, 64) |
| HSL | hsl(8, 49%, 49%) |
| HSV | hsv(8, 66%, 73%) |
| CMYK | cmyk(0%, 57%, 65.6%, 27.1%) |
| CIE-LAB | lab(47.69, 41.72, 30.54) |
| CIE-LCH | lch(47.69, 51.70, 36.21°) |
| OKLab | oklab(56.49% 0.121 0.0717) |
| OKLCH | oklch(56.49% 0.141 30.7) |
| XYZ | xyz(24.0460, 16.5497, 6.7776) |
| Luminance | 0.1655 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.26
Dull Red
#BB3F3F
ΔE00 5.12
Dark Salmon
#C85A53
ΔE00 5.45
Dark Coral
#CF524E
ΔE00 5.66
Dusty Red
#B9484E
ΔE00 6.89
Faded Red
#D3494E
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5040 #40AABA
analogous
#BA406D #BA5040 #BA8D40
triadic
#BA5040 #40BA50 #5040BA
tetradic
#BA5040 #6DBA40 #40AABA #8D40BA
square
#BA5040 #6DBA40 #40AABA #8D40BA
split-complementary
#BA5040 #40BA8D #406DBA
monochromatic
#5F2921 #8C3C30 #BA5040 #CC786B #DCA199
Accessibility & contrast
On white
4.87
#BA5040 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#BA5040 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5040
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5040 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C633E
Deuteranopia (green-blind)
#867A3D
Tritanopia (blue-blind)
#CC3B4D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba5040; /* rgb */ color: rgb(186, 80, 64); /* oklch */ color: oklch(56.5% 0.141 30.7);
Tailwind
colors: {
custom: {
50: '#d58475',
500: '#ba5040',
950: '#000000',
},
}SCSS
$custom: #ba5040; $custom-light: #d58475; $custom-dark: #000000;
JSON
{
"hex": "#ba5040",
"rgb": {
"r": 186,
"g": 80,
"b": 64
},
"hsl": {
"h": 7.869,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.5649,
"c": 0.14066,
"h": 30.7
},
"luminance": 0.16547
}Semantic roles & 50–950 ramp
primary
#BA5040
secondary
#8EC0C8
accent
#C6D84F
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B