#BA4845#BA4845
#BA4845 is a mid, vivid red. Relative luminance 0.155; OKLCH L 55.5% C 0.148 H 24.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4845 |
|---|---|
| RGB | rgb(186, 72, 69) |
| HSL | hsl(2, 46%, 50%) |
| HSV | hsv(2, 63%, 73%) |
| CMYK | cmyk(0%, 61.3%, 62.9%, 27.1%) |
| CIE-LAB | lab(46.32, 45.83, 25.91) |
| CIE-LCH | lch(46.32, 52.65, 29.48°) |
| OKLab | oklab(55.48% 0.1348 0.062) |
| OKLCH | oklch(55.48% 0.148 24.7) |
| XYZ | xyz(23.6435, 15.5066, 7.3771) |
| Luminance | 0.1550 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 1.85
Reddish
#C44240
ΔE00 2.15
Dusty Red
#B9484E
ΔE00 3.08
Faded Red
#D3494E
ΔE00 5.37
Dark Coral
#CF524E
ΔE00 5.46
Dark Salmon
#C85A53
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4845 #45B7BA
analogous
#BA457D #BA4845 #BA8245
triadic
#BA4845 #45BA48 #4845BA
tetradic
#BA4845 #7DBA45 #45B7BA #8245BA
square
#BA4845 #7DBA45 #45B7BA #8245BA
split-complementary
#BA4845 #45BA82 #457DBA
monochromatic
#612524 #8D3734 #BA4845 #CB7472 #DBA09E
Accessibility & contrast
On white
5.12
#BA4845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#BA4845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4845
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4845 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655E44
Deuteranopia (green-blind)
#827742
Tritanopia (blue-blind)
#CC3148
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ba4845; /* rgb */ color: rgb(186, 72, 69); /* oklch */ color: oklch(55.5% 0.148 24.7);
Tailwind
colors: {
custom: {
50: '#d58078',
500: '#ba4845',
950: '#000000',
},
}SCSS
$custom: #ba4845; $custom-light: #d58078; $custom-dark: #000000;
JSON
{
"hex": "#ba4845",
"rgb": {
"r": 186,
"g": 72,
"b": 69
},
"hsl": {
"h": 1.538,
"s": 45.882,
"l": 50
},
"oklch": {
"l": 0.55484,
"c": 0.14837,
"h": 24.7
},
"luminance": 0.15504
}Semantic roles & 50–950 ramp
primary
#BA4845
secondary
#93C6C8
accent
#D2D652
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150A09
muted
#837C7B