#BA4952#BA4952
#BA4952 is a mid, vivid red. Relative luminance 0.158; OKLCH L 55.9% C 0.146 H 18.4°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4952 |
|---|---|
| RGB | rgb(186, 73, 82) |
| HSL | hsl(355, 45%, 51%) |
| HSV | hsv(355, 61%, 73%) |
| CMYK | cmyk(0%, 60.8%, 55.9%, 27.1%) |
| CIE-LAB | lab(46.73, 46.32, 18.65) |
| CIE-LCH | lch(46.73, 49.93, 21.93°) |
| OKLab | oklab(55.87% 0.1385 0.0462) |
| OKLCH | oklch(55.87% 0.146 18.4) |
| XYZ | xyz(24.1573, 15.8164, 9.7618) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 1.13
Dark Rose
#B5485D
ΔE00 4.42
Dull Red
#BB3F3F
ΔE00 4.80
Reddish
#C44240
ΔE00 5.43
Faded Red
#D3494E
ΔE00 5.80
Light Maroon
#A24857
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4952 #49BAB1
analogous
#BA498A #BA4952 #BA7849
triadic
#BA4952 #52BA49 #4952BA
tetradic
#BA4952 #8ABA49 #49BAB1 #7849BA
square
#BA4952 #8ABA49 #49BAB1 #7849BA
split-complementary
#BA4952 #49BA78 #498ABA
monochromatic
#63262A #8F363D #BA4952 #CB757C #DCA2A6
Accessibility & contrast
On white
5.04
#BA4952 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#BA4952 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4952
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4952 | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646052
Deuteranopia (green-blind)
#81784F
Tritanopia (blue-blind)
#CB354D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba4952; /* rgb */ color: rgb(186, 73, 82); /* oklch */ color: oklch(55.9% 0.146 18.4);
Tailwind
colors: {
custom: {
50: '#d48182',
500: '#ba4952',
950: '#000000',
},
}SCSS
$custom: #ba4952; $custom-light: #d48182; $custom-dark: #000000;
JSON
{
"hex": "#ba4952",
"rgb": {
"r": 186,
"g": 73,
"b": 82
},
"hsl": {
"h": 355.221,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.55871,
"c": 0.14603,
"h": 18.4
},
"luminance": 0.15813
}Semantic roles & 50–950 ramp
primary
#BA4952
secondary
#96C8C4
accent
#D5CA53
background
#FDF8F7
surface
#FBEFEE
border
#D4CAC9
text
#150B0A
muted
#837C7C