#BA4947#BA4947
#BA4947 is a mid, vivid red. Relative luminance 0.157; OKLCH L 55.7% C 0.147 H 24.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4947 |
|---|---|
| RGB | rgb(186, 73, 71) |
| HSL | hsl(1, 45%, 50%) |
| HSV | hsv(1, 62%, 73%) |
| CMYK | cmyk(0%, 60.8%, 61.8%, 27.1%) |
| CIE-LAB | lab(46.53, 45.51, 24.99) |
| CIE-LCH | lch(46.53, 51.92, 28.77°) |
| OKLab | oklab(55.65% 0.1342 0.06) |
| OKLCH | oklch(55.65% 0.147 24.1) |
| XYZ | xyz(23.7718, 15.6622, 7.7313) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.14
Reddish
#C44240
ΔE00 2.42
Dusty Red
#B9484E
ΔE00 2.65
Faded Red
#D3494E
ΔE00 5.18
Dark Coral
#CF524E
ΔE00 5.34
Dark Salmon
#C85A53
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4947 #47B8BA
analogous
#BA477F #BA4947 #BA8247
triadic
#BA4947 #47BA49 #4947BA
tetradic
#BA4947 #7FBA47 #47B8BA #8247BA
square
#BA4947 #7FBA47 #47B8BA #8247BA
split-complementary
#BA4947 #47BA82 #477FBA
monochromatic
#622625 #8E3735 #BA4947 #CB7574 #DBA1A0
Accessibility & contrast
On white
5.08
#BA4947 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#BA4947 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4947
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4947 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4947 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665F46
Deuteranopia (green-blind)
#827744
Tritanopia (blue-blind)
#CB3349
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ba4947; /* rgb */ color: rgb(186, 73, 71); /* oklch */ color: oklch(55.7% 0.147 24.1);
Tailwind
colors: {
custom: {
50: '#d5807a',
500: '#ba4947',
950: '#000000',
},
}SCSS
$custom: #ba4947; $custom-light: #d5807a; $custom-dark: #000000;
JSON
{
"hex": "#ba4947",
"rgb": {
"r": 186,
"g": 73,
"b": 71
},
"hsl": {
"h": 1.043,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.55651,
"c": 0.14698,
"h": 24.1
},
"luminance": 0.15659
}Semantic roles & 50–950 ramp
primary
#BA4947
secondary
#95C7C8
accent
#D3D553
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B09
muted
#837C7B