#BA4954#BA4954
#BA4954 is a mid, vivid red. Relative luminance 0.158; OKLCH L 55.9% C 0.146 H 17.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4954 |
|---|---|
| RGB | rgb(186, 73, 84) |
| HSL | hsl(354, 45%, 51%) |
| HSV | hsv(354, 61%, 73%) |
| CMYK | cmyk(0%, 60.8%, 54.8%, 27.1%) |
| CIE-LAB | lab(46.77, 46.48, 17.49) |
| CIE-LCH | lch(46.77, 49.66, 20.62°) |
| OKLab | oklab(55.92% 0.1393 0.0435) |
| OKLCH | oklch(55.92% 0.146 17.3) |
| XYZ | xyz(24.2345, 15.8473, 10.1684) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 1.79
Dark Rose
#B5485D
ΔE00 3.77
Dull Red
#BB3F3F
ΔE00 5.43
Light Maroon
#A24857
ΔE00 5.89
Deep Rose
#C74767
ΔE00 5.90
Reddish
#C44240
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4954 #49BAAF
analogous
#BA498C #BA4954 #BA7649
triadic
#BA4954 #54BA49 #4954BA
tetradic
#BA4954 #8CBA49 #49BAAF #7649BA
square
#BA4954 #8CBA49 #49BAAF #7649BA
split-complementary
#BA4954 #49BA76 #498CBA
monochromatic
#63262C #8F363F #BA4954 #CB757E #DCA2A7
Accessibility & contrast
On white
5.04
#BA4954 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#BA4954 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4954
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4954 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4954 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#646054
Deuteranopia (green-blind)
#807851
Tritanopia (blue-blind)
#CB364E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba4954; /* rgb */ color: rgb(186, 73, 84); /* oklch */ color: oklch(55.9% 0.146 17.3);
Tailwind
colors: {
custom: {
50: '#d48184',
500: '#ba4954',
950: '#000000',
},
}SCSS
$custom: #ba4954; $custom-light: #d48184; $custom-dark: #000000;
JSON
{
"hex": "#ba4954",
"rgb": {
"r": 186,
"g": 73,
"b": 84
},
"hsl": {
"h": 354.159,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.55915,
"c": 0.14598,
"h": 17.3
},
"luminance": 0.15844
}Semantic roles & 50–950 ramp
primary
#BA4954
secondary
#96C8C4
accent
#D5C853
background
#FDF8F8
surface
#FBEFEF
border
#D4CACA
text
#150B0A
muted
#837C7C