#BA5442#BA5442
#BA5442 is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.1% C 0.136 H 31.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5442 |
|---|---|
| RGB | rgb(186, 84, 66) |
| HSL | hsl(9, 48%, 49%) |
| HSV | hsv(9, 65%, 73%) |
| CMYK | cmyk(0%, 54.8%, 64.5%, 27.1%) |
| CIE-LAB | lab(48.48, 39.86, 30.36) |
| CIE-LCH | lch(48.48, 50.11, 37.29°) |
| OKLab | oklab(57.1% 0.1156 0.0716) |
| OKLCH | oklch(57.1% 0.136 31.8) |
| XYZ | xyz(24.4056, 17.1761, 7.1833) |
| Luminance | 0.1717 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 5.19
Dark Salmon
#C85A53
ΔE00 5.21
Dark Coral
#CF524E
ΔE00 5.73
Dull Red
#BB3F3F
ΔE00 6.17
Clay
#B66A50
ΔE00 6.90
Pale Red
#D9544D
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5442 #42A8BA
analogous
#BA426C #BA5442 #BA9042
triadic
#BA5442 #42BA54 #5442BA
tetradic
#BA5442 #6CBA42 #42A8BA #9042BA
square
#BA5442 #6CBA42 #42A8BA #9042BA
split-complementary
#BA5442 #42BA90 #426CBA
monochromatic
#602B22 #8D4032 #BA5442 #CB7C6E #DBA59B
Accessibility & contrast
On white
4.74
#BA5442 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#BA5442 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5442
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5442 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5442 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6540
Deuteranopia (green-blind)
#887B40
Tritanopia (blue-blind)
#CB4050
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba5442; /* rgb */ color: rgb(186, 84, 66); /* oklch */ color: oklch(57.1% 0.136 31.8);
Tailwind
colors: {
custom: {
50: '#d58777',
500: '#ba5442',
950: '#000000',
},
}SCSS
$custom: #ba5442; $custom-light: #d58777; $custom-dark: #000000;
JSON
{
"hex": "#ba5442",
"rgb": {
"r": 186,
"g": 84,
"b": 66
},
"hsl": {
"h": 9,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.57101,
"c": 0.13596,
"h": 31.8
},
"luminance": 0.17173
}Semantic roles & 50–950 ramp
primary
#BA5442
secondary
#90BFC8
accent
#C3D751
background
#FDF8F7
surface
#FBF0ED
border
#D4CBC8
text
#150B08
muted
#837C7B