#BA5042#BA5042
#BA5042 is a mid, vivid red. Relative luminance 0.166; OKLCH L 56.5% C 0.140 H 29.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5042 |
|---|---|
| RGB | rgb(186, 80, 66) |
| HSL | hsl(7, 48%, 49%) |
| HSV | hsv(7, 65%, 73%) |
| CMYK | cmyk(0%, 57%, 64.5%, 27.1%) |
| CIE-LAB | lab(47.72, 41.84, 29.42) |
| CIE-LCH | lch(47.72, 51.15, 35.11°) |
| OKLab | oklab(56.52% 0.1218 0.0695) |
| OKLCH | oklch(56.52% 0.14 29.7) |
| XYZ | xyz(24.1040, 16.5728, 7.0828) |
| Luminance | 0.1657 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.84
Dull Red
#BB3F3F
ΔE00 4.69
Dark Salmon
#C85A53
ΔE00 5.07
Dark Coral
#CF524E
ΔE00 5.28
Dusty Red
#B9484E
ΔE00 6.26
Faded Red
#D3494E
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5042 #42ACBA
analogous
#BA4270 #BA5042 #BA8C42
triadic
#BA5042 #42BA50 #5042BA
tetradic
#BA5042 #70BA42 #42ACBA #8C42BA
square
#BA5042 #70BA42 #42ACBA #8C42BA
split-complementary
#BA5042 #42BA8C #4270BA
monochromatic
#602922 #8D3D32 #BA5042 #CB796E #DBA29B
Accessibility & contrast
On white
4.87
#BA5042 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#BA5042 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5042
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5042 | 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)
#6B6340
Deuteranopia (green-blind)
#867A3F
Tritanopia (blue-blind)
#CC3B4D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba5042; /* rgb */ color: rgb(186, 80, 66); /* oklch */ color: oklch(56.5% 0.140 29.7);
Tailwind
colors: {
custom: {
50: '#d58476',
500: '#ba5042',
950: '#000000',
},
}SCSS
$custom: #ba5042; $custom-light: #d58476; $custom-dark: #000000;
JSON
{
"hex": "#ba5042",
"rgb": {
"r": 186,
"g": 80,
"b": 66
},
"hsl": {
"h": 7,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.56522,
"c": 0.14019,
"h": 29.7
},
"luminance": 0.1657
}Semantic roles & 50–950 ramp
primary
#BA5042
secondary
#90C1C8
accent
#C8D751
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B