#BA4948#BA4948
#BA4948 is a mid, vivid red. Relative luminance 0.157; OKLCH L 55.7% C 0.147 H 23.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4948 |
|---|---|
| RGB | rgb(186, 73, 72) |
| HSL | hsl(1, 45%, 51%) |
| HSV | hsv(1, 61%, 73%) |
| CMYK | cmyk(0%, 60.8%, 61.3%, 27.1%) |
| CIE-LAB | lab(46.55, 45.57, 24.41) |
| CIE-LCH | lch(46.55, 51.70, 28.18°) |
| OKLab | oklab(55.67% 0.1346 0.0588) |
| OKLCH | oklch(55.67% 0.147 23.6) |
| XYZ | xyz(23.8041, 15.6752, 7.9017) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 2.26
Dusty Red
#B9484E
ΔE00 2.32
Reddish
#C44240
ΔE00 2.61
Faded Red
#D3494E
ΔE00 5.13
Dark Coral
#CF524E
ΔE00 5.39
Dark Salmon
#C85A53
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4948 #48B9BA
analogous
#BA4880 #BA4948 #BA8248
triadic
#BA4948 #48BA49 #4948BA
tetradic
#BA4948 #80BA48 #48B9BA #8248BA
square
#BA4948 #80BA48 #48B9BA #8248BA
split-complementary
#BA4948 #48BA82 #4880BA
monochromatic
#622625 #8F3736 #BA4948 #CB7574 #DCA1A1
Accessibility & contrast
On white
5.08
#BA4948 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#BA4948 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4948
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4948 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665F47
Deuteranopia (green-blind)
#827745
Tritanopia (blue-blind)
#CB334A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #ba4948; /* rgb */ color: rgb(186, 73, 72); /* oklch */ color: oklch(55.7% 0.147 23.6);
Tailwind
colors: {
custom: {
50: '#d5807b',
500: '#ba4948',
950: '#000000',
},
}SCSS
$custom: #ba4948; $custom-light: #d5807b; $custom-dark: #000000;
JSON
{
"hex": "#ba4948",
"rgb": {
"r": 186,
"g": 73,
"b": 72
},
"hsl": {
"h": 0.526,
"s": 45.238,
"l": 50.588
},
"oklch": {
"l": 0.5567,
"c": 0.14685,
"h": 23.6
},
"luminance": 0.15672
}Semantic roles & 50–950 ramp
primary
#BA4948
secondary
#96C8C8
accent
#D4D553
background
#FDF8F7
surface
#FBEFED
border
#D4CAC8
text
#150B09
muted
#837C7B