#BA515E#BA515E
#BA515E is a mid, vivid red. Relative luminance 0.171; OKLCH L 57.2% C 0.136 H 14.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA515E |
|---|---|
| RGB | rgb(186, 81, 94) |
| HSL | hsl(353, 43%, 52%) |
| HSV | hsv(353, 56%, 73%) |
| CMYK | cmyk(0%, 56.5%, 49.5%, 27.1%) |
| CIE-LAB | lab(48.43, 43.56, 13.71) |
| CIE-LCH | lch(48.43, 45.66, 17.47°) |
| OKLab | oklab(57.23% 0.1314 0.0348) |
| OKLCH | oklch(57.23% 0.136 14.8) |
| XYZ | xyz(25.2144, 17.1350, 12.5671) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.17
Dusty Red
#B9484E
ΔE00 4.12
Deep Rose
#C74767
ΔE00 4.48
Light Maroon
#A24857
ΔE00 5.98
Dark Pink
#CB416B
ΔE00 6.29
Dusky Rose
#BA6873
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA515E #51BAAD
analogous
#BA5193 #BA515E #BA7851
triadic
#BA515E #5EBA51 #515EBA
tetradic
#BA515E #93BA51 #51BAAD #7851BA
square
#BA515E #93BA51 #51BAAD #7851BA
split-complementary
#BA515E #51BA78 #5193BA
monochromatic
#682931 #933A45 #BA515E #CB7D87 #DDA9AF
Accessibility & contrast
On white
4.74
#BA515E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#BA515E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA515E
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA515E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA515E | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68665E
Deuteranopia (green-blind)
#837B5C
Tritanopia (blue-blind)
#CA4256
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba515e; /* rgb */ color: rgb(186, 81, 94); /* oklch */ color: oklch(57.2% 0.136 14.8);
Tailwind
colors: {
custom: {
50: '#d3868b',
500: '#ba515e',
950: '#000000',
},
}SCSS
$custom: #ba515e; $custom-light: #d3868b; $custom-dark: #000000;
JSON
{
"hex": "#ba515e",
"rgb": {
"r": 186,
"g": 81,
"b": 94
},
"hsl": {
"h": 352.571,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.57231,
"c": 0.1359,
"h": 14.8
},
"luminance": 0.17132
}Semantic roles & 50–950 ramp
primary
#BA515E
secondary
#9DCAC5
accent
#D3C355
background
#FDF8F8
surface
#FBF0F0
border
#D4CBCB
text
#150B0C
muted
#837C7D