#BA4958#BA4958
#BA4958 is a mid, vivid red. Relative luminance 0.159; OKLCH L 56.0% C 0.146 H 15.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4958 |
|---|---|
| RGB | rgb(186, 73, 88) |
| HSL | hsl(352, 45%, 51%) |
| HSV | hsv(352, 61%, 73%) |
| CMYK | cmyk(0%, 60.8%, 52.7%, 27.1%) |
| CIE-LAB | lab(46.86, 46.81, 15.18) |
| CIE-LCH | lch(46.86, 49.21, 17.97°) |
| OKLab | oklab(56.01% 0.1409 0.0382) |
| OKLCH | oklch(56.01% 0.146 15.2) |
| XYZ | xyz(24.3957, 15.9118, 11.0172) |
| Luminance | 0.1591 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 2.52
Dusty Red
#B9484E
ΔE00 3.12
Deep Rose
#C74767
ΔE00 4.71
Light Maroon
#A24857
ΔE00 5.30
Light Burgundy
#A8415B
ΔE00 6.04
Lipstick
#D5174E
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4958 #49BAAB
analogous
#BA4991 #BA4958 #BA7249
triadic
#BA4958 #58BA49 #4958BA
tetradic
#BA4958 #91BA49 #49BAAB #7249BA
square
#BA4958 #91BA49 #49BAAB #7249BA
split-complementary
#BA4958 #49BA72 #4991BA
monochromatic
#63262E #8F3642 #BA4958 #CB7581 #DCA2A9
Accessibility & contrast
On white
5.02
#BA4958 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#BA4958 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4958
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4958 | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#636158
Deuteranopia (green-blind)
#807855
Tritanopia (blue-blind)
#CB374F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #ba4958; /* rgb */ color: rgb(186, 73, 88); /* oklch */ color: oklch(56.0% 0.146 15.2);
Tailwind
colors: {
custom: {
50: '#d48187',
500: '#ba4958',
950: '#000000',
},
}SCSS
$custom: #ba4958; $custom-light: #d48187; $custom-dark: #000000;
JSON
{
"hex": "#ba4958",
"rgb": {
"r": 186,
"g": 73,
"b": 88
},
"hsl": {
"h": 352.035,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.56007,
"c": 0.14602,
"h": 15.2
},
"luminance": 0.15909
}Semantic roles & 50–950 ramp
primary
#BA4958
secondary
#96C8C2
accent
#D5C453
background
#FDF8F8
surface
#FBEFEF
border
#D4CACA
text
#150B0B
muted
#837C7C