#BA394A#BA394A
#BA394A is a mid, vivid red. Relative luminance 0.139; OKLCH L 53.8% C 0.164 H 17.2°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #BA394A |
|---|---|
| RGB | rgb(186, 57, 74) |
| HSL | hsl(352, 53%, 48%) |
| HSV | hsv(352, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 60.2%, 27.1%) |
| CIE-LAB | lab(44.04, 52.58, 19.94) |
| CIE-LCH | lch(44.04, 56.23, 20.76°) |
| OKLab | oklab(53.8% 0.1571 0.0487) |
| OKLCH | oklch(53.8% 0.164 17.2) |
| XYZ | xyz(22.9511, 13.8630, 7.9445) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 3.24
Cardinal
#C41E3A
ΔE00 4.14
Ruby
#CA0147
ΔE00 4.80
Dull Red
#BB3F3F
ΔE00 4.83
Dark Rose
#B5485D
ΔE00 5.02
Rose Red
#BE013C
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA394A #39BAA9
analogous
#BA398A #BA394A #BA6839
triadic
#BA394A #4ABA39 #394ABA
tetradic
#BA394A #8ABA39 #39BAA9 #6839BA
square
#BA394A #8ABA39 #39BAA9 #6839BA
split-complementary
#BA394A #39BA68 #398ABA
monochromatic
#5C1C25 #8B2B37 #BA394A #CF6170 #DD909A
Accessibility & contrast
On white
5.57
#BA394A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#BA394A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA394A
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA394A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA394A | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B574A
Deuteranopia (green-blind)
#7C7247
Tritanopia (blue-blind)
#CC1940
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #ba394a; /* rgb */ color: rgb(186, 57, 74); /* oklch */ color: oklch(53.8% 0.164 17.2);
Tailwind
colors: {
custom: {
50: '#d5787c',
500: '#ba394a',
950: '#000000',
},
}SCSS
$custom: #ba394a; $custom-light: #d5787c; $custom-dark: #000000;
JSON
{
"hex": "#ba394a",
"rgb": {
"r": 186,
"g": 57,
"b": 74
},
"hsl": {
"h": 352.093,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.53802,
"c": 0.16449,
"h": 17.2
},
"luminance": 0.1386
}Semantic roles & 50–950 ramp
primary
#BA394A
secondary
#87C8BF
accent
#DCC94B
background
#FEF7F7
surface
#FCEEEE
border
#D5C9C9
text
#160909
muted
#847B7B