#BA4A42#BA4A42
#BA4A42 is a mid, vivid red. Relative luminance 0.157; OKLCH L 55.7% C 0.147 H 26.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4A42 |
|---|---|
| RGB | rgb(186, 74, 66) |
| HSL | hsl(4, 48%, 49%) |
| HSV | hsv(4, 65%, 73%) |
| CMYK | cmyk(0%, 60.2%, 64.5%, 27.1%) |
| CIE-LAB | lab(46.62, 44.71, 28.07) |
| CIE-LCH | lch(46.62, 52.79, 32.12°) |
| OKLab | oklab(55.7% 0.1307 0.0665) |
| OKLCH | oklch(55.7% 0.147 26.9) |
| XYZ | xyz(23.6841, 15.7331, 6.9428) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 2.28
Dull Red
#BB3F3F
ΔE00 2.66
Dusty Red
#B9484E
ΔE00 4.54
Dark Coral
#CF524E
ΔE00 5.34
Dark Salmon
#C85A53
ΔE00 5.58
Faded Red
#D3494E
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4A42 #42B2BA
analogous
#BA4276 #BA4A42 #BA8642
triadic
#BA4A42 #42BA4A #4A42BA
tetradic
#BA4A42 #76BA42 #42B2BA #8642BA
square
#BA4A42 #76BA42 #42B2BA #8642BA
split-complementary
#BA4A42 #42BA86 #4276BA
monochromatic
#602622 #8D3832 #BA4A42 #CB746E #DB9F9B
Accessibility & contrast
On white
5.07
#BA4A42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#BA4A42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4A42
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4A42 | 1.00 | 5.07 | 4.15 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675F41
Deuteranopia (green-blind)
#83783F
Tritanopia (blue-blind)
#CC3349
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ba4a42; /* rgb */ color: rgb(186, 74, 66); /* oklch */ color: oklch(55.7% 0.147 26.9);
Tailwind
colors: {
custom: {
50: '#d58176',
500: '#ba4a42',
950: '#000000',
},
}SCSS
$custom: #ba4a42; $custom-light: #d58176; $custom-dark: #000000;
JSON
{
"hex": "#ba4a42",
"rgb": {
"r": 186,
"g": 74,
"b": 66
},
"hsl": {
"h": 4,
"s": 47.619,
"l": 49.412
},
"oklch": {
"l": 0.55696,
"c": 0.14666,
"h": 26.9
},
"luminance": 0.1573
}Semantic roles & 50–950 ramp
primary
#BA4A42
secondary
#90C4C8
accent
#CED751
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B08
muted
#837C7B