#BA5158#BA5158
#BA5158 is a mid, vivid red. Relative luminance 0.170; OKLCH L 57.1% C 0.136 H 18.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5158 |
|---|---|
| RGB | rgb(186, 81, 88) |
| HSL | hsl(356, 43%, 52%) |
| HSV | hsv(356, 56%, 73%) |
| CMYK | cmyk(0%, 56.5%, 52.7%, 27.1%) |
| CIE-LAB | lab(48.30, 43.02, 17.14) |
| CIE-LCH | lch(48.30, 46.30, 21.73°) |
| OKLab | oklab(57.09% 0.129 0.0429) |
| OKLCH | oklch(57.09% 0.136 18.4) |
| XYZ | xyz(24.9555, 17.0315, 11.2038) |
| Luminance | 0.1703 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 2.60
Dark Rose
#B5485D
ΔE00 4.68
Faded Red
#D3494E
ΔE00 5.65
Indianred
#CD5C5C
ΔE00 5.70
Dark Salmon
#C85A53
ΔE00 6.05
Dull Red
#BB3F3F
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5158 #51BAB3
analogous
#BA518D #BA5158 #BA7F51
triadic
#BA5158 #58BA51 #5158BA
tetradic
#BA5158 #8DBA51 #51BAB3 #7F51BA
square
#BA5158 #8DBA51 #51BAB3 #7F51BA
split-complementary
#BA5158 #51BA7F #518DBA
monochromatic
#68292D #933A40 #BA5158 #CB7D82 #DDA9AC
Accessibility & contrast
On white
4.77
#BA5158 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#BA5158 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5158
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5158 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5158 | 1.00 | 4.77 | 4.41 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#696558
Deuteranopia (green-blind)
#847B56
Tritanopia (blue-blind)
#CA4154
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba5158; /* rgb */ color: rgb(186, 81, 88); /* oklch */ color: oklch(57.1% 0.136 18.4);
Tailwind
colors: {
custom: {
50: '#d48587',
500: '#ba5158',
950: '#000000',
},
}SCSS
$custom: #ba5158; $custom-light: #d48587; $custom-dark: #000000;
JSON
{
"hex": "#ba5158",
"rgb": {
"r": 186,
"g": 81,
"b": 88
},
"hsl": {
"h": 356,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.5709,
"c": 0.13591,
"h": 18.4
},
"luminance": 0.17029
}Semantic roles & 50–950 ramp
primary
#BA5158
secondary
#9DCAC7
accent
#D3CB55
background
#FDF8F8
surface
#FBF0EF
border
#D4CBCA
text
#150B0B
muted
#837C7C