#BA5140#BA5140
#BA5140 is a mid, vivid red. Relative luminance 0.167; OKLCH L 56.6% C 0.140 H 31.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5140 |
|---|---|
| RGB | rgb(186, 81, 64) |
| HSL | hsl(8, 49%, 49%) |
| HSV | hsv(8, 66%, 73%) |
| CMYK | cmyk(0%, 56.5%, 65.6%, 27.1%) |
| CIE-LAB | lab(47.88, 41.23, 30.77) |
| CIE-LCH | lch(47.88, 51.44, 36.74°) |
| OKLab | oklab(56.63% 0.1195 0.0722) |
| OKLCH | oklch(56.63% 0.14 31.2) |
| XYZ | xyz(24.1198, 16.6972, 6.8022) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.59
Dark Salmon
#C85A53
ΔE00 5.48
Dull Red
#BB3F3F
ΔE00 5.49
Dark Coral
#CF524E
ΔE00 5.76
Pale Red
#D9544D
ΔE00 7.07
Faded Red
#D3494E
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5140 #40A9BA
analogous
#BA406C #BA5140 #BA8E40
triadic
#BA5140 #40BA51 #5140BA
tetradic
#BA5140 #6CBA40 #40A9BA #8E40BA
square
#BA5140 #6CBA40 #40A9BA #8E40BA
split-complementary
#BA5140 #40BA8E #406CBA
monochromatic
#5F2921 #8C3D30 #BA5140 #CC796B #DCA299
Accessibility & contrast
On white
4.84
#BA5140 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#BA5140 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5140
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5140 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5140 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C633E
Deuteranopia (green-blind)
#867A3D
Tritanopia (blue-blind)
#CC3C4D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba5140; /* rgb */ color: rgb(186, 81, 64); /* oklch */ color: oklch(56.6% 0.140 31.2);
Tailwind
colors: {
custom: {
50: '#d58575',
500: '#ba5140',
950: '#000000',
},
}SCSS
$custom: #ba5140; $custom-light: #d58575; $custom-dark: #000000;
JSON
{
"hex": "#ba5140",
"rgb": {
"r": 186,
"g": 81,
"b": 64
},
"hsl": {
"h": 8.361,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.56633,
"c": 0.13961,
"h": 31.2
},
"luminance": 0.16694
}Semantic roles & 50–950 ramp
primary
#BA5140
secondary
#8EC0C8
accent
#C5D84F
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B