#BA4540#BA4540
#BA4540 is a mid, vivid red. Relative luminance 0.151; OKLCH L 55.0% C 0.152 H 25.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4540 |
|---|---|
| RGB | rgb(186, 69, 64) |
| HSL | hsl(2, 49%, 49%) |
| HSV | hsv(2, 66%, 73%) |
| CMYK | cmyk(0%, 62.9%, 65.6%, 27.1%) |
| CIE-LAB | lab(45.73, 46.88, 28.14) |
| CIE-LCH | lch(45.73, 54.68, 30.97°) |
| OKLab | oklab(55.01% 0.1372 0.0664) |
| OKLCH | oklch(55.01% 0.152 25.8) |
| XYZ | xyz(23.3055, 15.0687, 6.5308) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.47
Reddish
#C44240
ΔE00 1.91
Dusty Red
#B9484E
ΔE00 4.11
Dark Coral
#CF524E
ΔE00 5.98
Faded Red
#D3494E
ΔE00 5.98
Cardinal
#C41E3A
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4540 #40B5BA
analogous
#BA4078 #BA4540 #BA8240
triadic
#BA4540 #40BA45 #4540BA
tetradic
#BA4540 #78BA40 #40B5BA #8240BA
square
#BA4540 #78BA40 #40B5BA #8240BA
split-complementary
#BA4540 #40BA82 #4078BA
monochromatic
#5F2321 #8C3430 #BA4540 #CC6F6B #DC9B99
Accessibility & contrast
On white
5.23
#BA4540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#BA4540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4540
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4540 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645C3F
Deuteranopia (green-blind)
#81763D
Tritanopia (blue-blind)
#CC2B45
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ba4540; /* rgb */ color: rgb(186, 69, 64); /* oklch */ color: oklch(55.0% 0.152 25.8);
Tailwind
colors: {
custom: {
50: '#d57e75',
500: '#ba4540',
950: '#000000',
},
}SCSS
$custom: #ba4540; $custom-light: #d57e75; $custom-dark: #000000;
JSON
{
"hex": "#ba4540",
"rgb": {
"r": 186,
"g": 69,
"b": 64
},
"hsl": {
"h": 2.459,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.55012,
"c": 0.15239,
"h": 25.8
},
"luminance": 0.15066
}Semantic roles & 50–950 ramp
primary
#BA4540
secondary
#8EC5C8
accent
#D3D84F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A08
muted
#847C7B