#BA5240#BA5240
#BA5240 is a mid, vivid red. Relative luminance 0.168; OKLCH L 56.8% C 0.139 H 31.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5240 |
|---|---|
| RGB | rgb(186, 82, 64) |
| HSL | hsl(9, 49%, 49%) |
| HSV | hsv(9, 66%, 73%) |
| CMYK | cmyk(0%, 55.9%, 65.6%, 27.1%) |
| CIE-LAB | lab(48.07, 40.73, 31.00) |
| CIE-LCH | lch(48.07, 51.19, 37.28°) |
| OKLab | oklab(56.78% 0.1179 0.0727) |
| OKLCH | oklch(56.78% 0.139 31.7) |
| XYZ | xyz(24.1947, 16.8469, 6.8272) |
| Luminance | 0.1684 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.93
Dark Salmon
#C85A53
ΔE00 5.53
Dull Red
#BB3F3F
ΔE00 5.86
Dark Coral
#CF524E
ΔE00 5.89
Pale Red
#D9544D
ΔE00 7.10
Clay
#B66A50
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5240 #40A8BA
analogous
#BA406B #BA5240 #BA8F40
triadic
#BA5240 #40BA52 #5240BA
tetradic
#BA5240 #6BBA40 #40A8BA #8F40BA
square
#BA5240 #6BBA40 #40A8BA #8F40BA
split-complementary
#BA5240 #40BA8F #406BBA
monochromatic
#5F2A21 #8C3E30 #BA5240 #CC796B #DCA399
Accessibility & contrast
On white
4.81
#BA5240 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#BA5240 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5240
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5240 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D643E
Deuteranopia (green-blind)
#877B3E
Tritanopia (blue-blind)
#CC3E4E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba5240; /* rgb */ color: rgb(186, 82, 64); /* oklch */ color: oklch(56.8% 0.139 31.7);
Tailwind
colors: {
custom: {
50: '#d58675',
500: '#ba5240',
950: '#000000',
},
}SCSS
$custom: #ba5240; $custom-light: #d58675; $custom-dark: #000000;
JSON
{
"hex": "#ba5240",
"rgb": {
"r": 186,
"g": 82,
"b": 64
},
"hsl": {
"h": 8.852,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.56777,
"c": 0.13857,
"h": 31.7
},
"luminance": 0.16844
}Semantic roles & 50–950 ramp
primary
#BA5240
secondary
#8EBFC8
accent
#C4D84F
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B