#BA5142#BA5142
#BA5142 is a mid, vivid red. Relative luminance 0.167; OKLCH L 56.7% C 0.139 H 30.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5142 |
|---|---|
| RGB | rgb(186, 81, 66) |
| HSL | hsl(8, 48%, 49%) |
| HSV | hsv(8, 65%, 73%) |
| CMYK | cmyk(0%, 56.5%, 64.5%, 27.1%) |
| CIE-LAB | lab(47.91, 41.35, 29.65) |
| CIE-LCH | lch(47.91, 50.89, 35.65°) |
| OKLab | oklab(56.67% 0.1202 0.07) |
| OKLCH | oklch(56.67% 0.139 30.2) |
| XYZ | xyz(24.1777, 16.7204, 7.1074) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.16
Dull Red
#BB3F3F
ΔE00 5.05
Dark Salmon
#C85A53
ΔE00 5.07
Dark Coral
#CF524E
ΔE00 5.35
Dusty Red
#B9484E
ΔE00 6.58
Faded Red
#D3494E
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5142 #42ABBA
analogous
#BA426F #BA5142 #BA8D42
triadic
#BA5142 #42BA51 #5142BA
tetradic
#BA5142 #6FBA42 #42ABBA #8D42BA
square
#BA5142 #6FBA42 #42ABBA #8D42BA
split-complementary
#BA5142 #42BA8D #426FBA
monochromatic
#602A22 #8D3D32 #BA5142 #CB796E #DBA39B
Accessibility & contrast
On white
4.83
#BA5142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#BA5142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5142
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5142 | 1.00 | 4.83 | 4.34 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6440
Deuteranopia (green-blind)
#867A40
Tritanopia (blue-blind)
#CB3D4E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba5142; /* rgb */ color: rgb(186, 81, 66); /* oklch */ color: oklch(56.7% 0.139 30.2);
Tailwind
colors: {
custom: {
50: '#d58576',
500: '#ba5142',
950: '#000000',
},
}SCSS
$custom: #ba5142; $custom-light: #d58576; $custom-dark: #000000;
JSON
{
"hex": "#ba5142",
"rgb": {
"r": 186,
"g": 81,
"b": 66
},
"hsl": {
"h": 7.5,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.56665,
"c": 0.13912,
"h": 30.2
},
"luminance": 0.16717
}Semantic roles & 50–950 ramp
primary
#BA5142
secondary
#90C1C8
accent
#C6D751
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B