#BA4142#BA4142
#BA4142 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.6% C 0.156 H 23.4°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4142 |
|---|---|
| RGB | rgb(186, 65, 66) |
| HSL | hsl(360, 48%, 49%) |
| HSV | hsv(360, 65%, 73%) |
| CMYK | cmyk(0%, 65.1%, 64.5%, 27.1%) |
| CIE-LAB | lab(45.10, 48.77, 26.17) |
| CIE-LCH | lch(45.10, 55.34, 28.22°) |
| OKLab | oklab(54.55% 0.1435 0.0622) |
| OKLCH | oklch(54.55% 0.156 23.4) |
| XYZ | xyz(23.1257, 14.6162, 6.7567) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 0.74
Reddish
#C44240
ΔE00 2.48
Dusty Red
#B9484E
ΔE00 2.99
Cardinal
#C41E3A
ΔE00 4.82
Cherry (survey)
#CF0234
ΔE00 5.80
Faded Red
#D3494E
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4142 #41BAB9
analogous
#BA417F #BA4142 #BA7D41
triadic
#BA4142 #42BA41 #4142BA
tetradic
#BA4142 #7FBA41 #41BAB9 #7D41BA
square
#BA4142 #7FBA41 #41BAB9 #7D41BA
split-complementary
#BA4142 #41BA7D #417FBA
monochromatic
#5F2122 #8D3132 #BA4142 #CC6C6D #DC9A9A
Accessibility & contrast
On white
5.35
#BA4142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#BA4142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4142
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4142 | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615A41
Deuteranopia (green-blind)
#7F743F
Tritanopia (blue-blind)
#CC2543
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba4142; /* rgb */ color: rgb(186, 65, 66); /* oklch */ color: oklch(54.6% 0.156 23.4);
Tailwind
colors: {
custom: {
50: '#d67c76',
500: '#ba4142',
950: '#000000',
},
}SCSS
$custom: #ba4142; $custom-light: #d67c76; $custom-dark: #000000;
JSON
{
"hex": "#ba4142",
"rgb": {
"r": 186,
"g": 65,
"b": 66
},
"hsl": {
"h": 359.504,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.54554,
"c": 0.1564,
"h": 23.4
},
"luminance": 0.14613
}Semantic roles & 50–950 ramp
primary
#BA4142
secondary
#8FC8C7
accent
#D8D750
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B