#BA3947#BA3947
#BA3947 is a mid, vivid red. Relative luminance 0.138; OKLCH L 53.7% C 0.165 H 18.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3947 |
|---|---|
| RGB | rgb(186, 57, 71) |
| HSL | hsl(353, 53%, 48%) |
| HSV | hsv(353, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 61.8%, 27.1%) |
| CIE-LAB | lab(43.98, 52.38, 21.70) |
| CIE-LCH | lch(43.98, 56.70, 22.50°) |
| OKLab | oklab(53.74% 0.1559 0.0525) |
| OKLCH | oklch(53.74% 0.165 18.6) |
| XYZ | xyz(22.8524, 13.8235, 7.4249) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.98
Cardinal
#C41E3A
ΔE00 3.60
Dull Red
#BB3F3F
ΔE00 3.90
Rose Red
#BE013C
ΔE00 5.13
Ruby
#CA0147
ΔE00 5.26
Reddish
#C44240
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3947 #39BAAC
analogous
#BA3988 #BA3947 #BA6B39
triadic
#BA3947 #47BA39 #3947BA
tetradic
#BA3947 #88BA39 #39BAAC #6B39BA
square
#BA3947 #88BA39 #39BAAC #6B39BA
split-complementary
#BA3947 #39BA6B #3988BA
monochromatic
#5C1C23 #8B2B35 #BA3947 #CF616D #DD9099
Accessibility & contrast
On white
5.58
#BA3947 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#BA3947 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3947
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3947 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3947 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5747
Deuteranopia (green-blind)
#7C7244
Tritanopia (blue-blind)
#CC183F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba3947; /* rgb */ color: rgb(186, 57, 71); /* oklch */ color: oklch(53.7% 0.165 18.6);
Tailwind
colors: {
custom: {
50: '#d6787a',
500: '#ba3947',
950: '#000000',
},
}SCSS
$custom: #ba3947; $custom-light: #d6787a; $custom-dark: #000000;
JSON
{
"hex": "#ba3947",
"rgb": {
"r": 186,
"g": 57,
"b": 71
},
"hsl": {
"h": 353.488,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.53741,
"c": 0.16454,
"h": 18.6
},
"luminance": 0.1382
}Semantic roles & 50–950 ramp
primary
#BA3947
secondary
#87C8C1
accent
#DCCD4B
background
#FEF7F7
surface
#FCEEED
border
#D5C9C8
text
#160909
muted
#847B7B