#BA4045#BA4045
#BA4045 is a mid, vivid red. Relative luminance 0.145; OKLCH L 54.5% C 0.157 H 21.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4045 |
|---|---|
| RGB | rgb(186, 64, 69) |
| HSL | hsl(358, 49%, 49%) |
| HSV | hsv(358, 66%, 73%) |
| CMYK | cmyk(0%, 65.6%, 62.9%, 27.1%) |
| CIE-LAB | lab(45.00, 49.38, 24.23) |
| CIE-LCH | lch(45.00, 55.01, 26.14°) |
| OKLab | oklab(54.49% 0.146 0.0581) |
| OKLCH | oklch(54.49% 0.157 21.7) |
| XYZ | xyz(23.1595, 14.5388, 7.2158) |
| Luminance | 0.1454 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.82
Dusty Red
#B9484E
ΔE00 2.20
Reddish
#C44240
ΔE00 3.33
Cardinal
#C41E3A
ΔE00 4.39
Cherry (survey)
#CF0234
ΔE00 5.70
Faded Red
#D3494E
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4045 #40BAB5
analogous
#BA4082 #BA4045 #BA7840
triadic
#BA4045 #45BA40 #4045BA
tetradic
#BA4045 #82BA40 #40BAB5 #7840BA
square
#BA4045 #82BA40 #40BAB5 #7840BA
split-complementary
#BA4045 #40BA78 #4082BA
monochromatic
#5F2123 #8C3034 #BA4045 #CC6B6F #DC999B
Accessibility & contrast
On white
5.37
#BA4045 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#BA4045 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4045
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4045 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4045 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605A44
Deuteranopia (green-blind)
#7F7442
Tritanopia (blue-blind)
#CC2443
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba4045; /* rgb */ color: rgb(186, 64, 69); /* oklch */ color: oklch(54.5% 0.157 21.7);
Tailwind
colors: {
custom: {
50: '#d57b78',
500: '#ba4045',
950: '#000000',
},
}SCSS
$custom: #ba4045; $custom-light: #d57b78; $custom-dark: #000000;
JSON
{
"hex": "#ba4045",
"rgb": {
"r": 186,
"g": 64,
"b": 69
},
"hsl": {
"h": 357.541,
"s": 48.8,
"l": 49.02
},
"oklch": {
"l": 0.5449,
"c": 0.15717,
"h": 21.7
},
"luminance": 0.14536
}Semantic roles & 50–950 ramp
primary
#BA4045
secondary
#8EC8C5
accent
#D8D34F
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160A09
muted
#847C7B