#BA3847#BA3847
#BA3847 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.6% C 0.166 H 18.3°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3847 |
|---|---|
| RGB | rgb(186, 56, 71) |
| HSL | hsl(353, 54%, 47%) |
| HSV | hsv(353, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 61.8%, 27.1%) |
| CIE-LAB | lab(43.84, 52.77, 21.52) |
| CIE-LCH | lch(43.84, 56.99, 22.18°) |
| OKLab | oklab(53.64% 0.1572 0.0521) |
| OKLCH | oklch(53.64% 0.166 18.3) |
| XYZ | xyz(22.8035, 13.7256, 7.4086) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 3.17
Cardinal
#C41E3A
ΔE00 3.55
Dull Red
#BB3F3F
ΔE00 4.11
Rose Red
#BE013C
ΔE00 4.93
Ruby
#CA0147
ΔE00 5.06
Lipstick
#D5174E
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3847 #38BAAB
analogous
#BA3888 #BA3847 #BA6A38
triadic
#BA3847 #47BA38 #3847BA
tetradic
#BA3847 #88BA38 #38BAAB #6A38BA
square
#BA3847 #88BA38 #38BAAB #6A38BA
split-complementary
#BA3847 #38BA6A #3888BA
monochromatic
#5C1C23 #8B2A35 #BA3847 #CF606D #DD8F98
Accessibility & contrast
On white
5.61
#BA3847 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#BA3847 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3847
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3847 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3847 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5647
Deuteranopia (green-blind)
#7C7243
Tritanopia (blue-blind)
#CC153E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3847; /* rgb */ color: rgb(186, 56, 71); /* oklch */ color: oklch(53.6% 0.166 18.3);
Tailwind
colors: {
custom: {
50: '#d6777a',
500: '#ba3847',
950: '#000000',
},
}SCSS
$custom: #ba3847; $custom-light: #d6777a; $custom-dark: #000000;
JSON
{
"hex": "#ba3847",
"rgb": {
"r": 186,
"g": 56,
"b": 71
},
"hsl": {
"h": 353.077,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.53635,
"c": 0.16559,
"h": 18.3
},
"luminance": 0.13722
}Semantic roles & 50–950 ramp
primary
#BA3847
secondary
#86C8C0
accent
#DDCC4B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160909
muted
#847B7B