#BA4A4E#BA4A4E
#BA4A4E is a mid, vivid red. Relative luminance 0.159; OKLCH L 55.9% C 0.145 H 21.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4A4E |
|---|---|
| RGB | rgb(186, 74, 78) |
| HSL | hsl(358, 45%, 51%) |
| HSV | hsv(358, 60%, 73%) |
| CMYK | cmyk(0%, 60.2%, 58.1%, 27.1%) |
| CIE-LAB | lab(46.83, 45.54, 21.19) |
| CIE-LCH | lch(46.83, 50.23, 24.95°) |
| OKLab | oklab(55.92% 0.1355 0.0519) |
| OKLCH | oklch(55.92% 0.145 21) |
| XYZ | xyz(24.0758, 15.8898, 9.0055) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 0.73
Dull Red
#BB3F3F
ΔE00 3.57
Reddish
#C44240
ΔE00 4.05
Faded Red
#D3494E
ΔE00 5.14
Dark Coral
#CF524E
ΔE00 5.83
Dark Rose
#B5485D
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4A4E #4ABAB6
analogous
#BA4A86 #BA4A4E #BA7E4A
triadic
#BA4A4E #4EBA4A #4A4EBA
tetradic
#BA4A4E #86BA4A #4ABAB6 #7E4ABA
square
#BA4A4E #86BA4A #4ABAB6 #7E4ABA
split-complementary
#BA4A4E #4ABA7E #4A86BA
monochromatic
#642628 #90373A #BA4A4E #CB7679 #DCA3A5
Accessibility & contrast
On white
5.03
#BA4A4E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#BA4A4E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4A4E
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4A4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4A4E | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#65604D
Deuteranopia (green-blind)
#82784B
Tritanopia (blue-blind)
#CB364C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba4a4e; /* rgb */ color: rgb(186, 74, 78); /* oklch */ color: oklch(55.9% 0.145 21.0);
Tailwind
colors: {
custom: {
50: '#d4817f',
500: '#ba4a4e',
950: '#000000',
},
}SCSS
$custom: #ba4a4e; $custom-light: #d4817f; $custom-dark: #000000;
JSON
{
"hex": "#ba4a4e",
"rgb": {
"r": 186,
"g": 74,
"b": 78
},
"hsl": {
"h": 357.857,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.55919,
"c": 0.14506,
"h": 21
},
"luminance": 0.15887
}Semantic roles & 50–950 ramp
primary
#BA4A4E
secondary
#97C9C7
accent
#D5D053
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C