#BA4748#BA4748
#BA4748 is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.4% C 0.149 H 22.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4748 |
|---|---|
| RGB | rgb(186, 71, 72) |
| HSL | hsl(359, 45%, 50%) |
| HSV | hsv(359, 62%, 73%) |
| CMYK | cmyk(0%, 61.8%, 61.3%, 27.1%) |
| CIE-LAB | lab(46.20, 46.49, 23.97) |
| CIE-LCH | lch(46.20, 52.31, 27.27°) |
| OKLab | oklab(55.41% 0.1375 0.0578) |
| OKLCH | oklch(55.41% 0.149 22.8) |
| XYZ | xyz(23.6749, 15.4166, 7.8586) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 1.88
Dull Red
#BB3F3F
ΔE00 2.12
Reddish
#C44240
ΔE00 2.81
Faded Red
#D3494E
ΔE00 5.26
Dark Coral
#CF524E
ΔE00 5.77
Cardinal
#C41E3A
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4748 #47BAB9
analogous
#BA4782 #BA4748 #BA7F47
triadic
#BA4748 #48BA47 #4748BA
tetradic
#BA4748 #82BA47 #47BAB9 #7F47BA
square
#BA4748 #82BA47 #47BAB9 #7F47BA
split-complementary
#BA4748 #47BA7F #4782BA
monochromatic
#622525 #8E3536 #BA4748 #CB7474 #DBA0A1
Accessibility & contrast
On white
5.14
#BA4748 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#BA4748 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4748
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4748 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4748 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645E47
Deuteranopia (green-blind)
#817745
Tritanopia (blue-blind)
#CB3048
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba4748; /* rgb */ color: rgb(186, 71, 72); /* oklch */ color: oklch(55.4% 0.149 22.8);
Tailwind
colors: {
custom: {
50: '#d57f7b',
500: '#ba4748',
950: '#000000',
},
}SCSS
$custom: #ba4748; $custom-light: #d57f7b; $custom-dark: #000000;
JSON
{
"hex": "#ba4748",
"rgb": {
"r": 186,
"g": 71,
"b": 72
},
"hsl": {
"h": 359.478,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.5541,
"c": 0.14911,
"h": 22.8
},
"luminance": 0.15413
}Semantic roles & 50–950 ramp
primary
#BA4748
secondary
#95C8C8
accent
#D5D453
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150A09
muted
#837C7B