#BA7987#BA7987
#BA7987 is a light, moderate red. Relative luminance 0.259; OKLCH L 64.8% C 0.083 H 5.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #BA7987 |
|---|---|
| RGB | rgb(186, 121, 135) |
| HSL | hsl(347, 32%, 60%) |
| HSV | hsv(347, 35%, 73%) |
| CMYK | cmyk(0%, 34.9%, 27.4%, 27.1%) |
| CIE-LAB | lab(57.91, 27.30, 2.95) |
| CIE-LCH | lch(57.91, 27.46, 6.17°) |
| OKLab | oklab(64.77% 0.0826 0.0081) |
| OKLCH | oklch(64.77% 0.083 5.6) |
| XYZ | xyz(31.4610, 25.8652, 26.2524) |
| Luminance | 0.2586 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Old Pink
#C77986
ΔE00 3.01
Mauve (survey)
#AE7181
ΔE00 3.43
Old Rose
#C87F89
ΔE00 3.64
Dusky Pink
#CC7A8B
ΔE00 3.72
Dusty Rose
#C0737A
ΔE00 4.20
Ugly Pink
#CD7584
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA7987 #79BAAC
analogous
#BA79A7 #BA7987 #BA8B79
triadic
#BA7987 #87BA79 #7987BA
tetradic
#BA7987 #A7BA79 #79BAAC #8B79BA
square
#BA7987 #A7BA79 #79BAAC #8B79BA
split-complementary
#BA7987 #79BA8B #79A7BA
monochromatic
#7A3F4B #A25464 #BA7987 #CFA1AB #E4CACF
Accessibility & contrast
On white
3.40
#BA7987 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#BA7987 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA7987
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA7987 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA7987 | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#838487
Deuteranopia (green-blind)
#939086
Tritanopia (blue-blind)
#C5747E
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba7987; /* rgb */ color: rgb(186, 121, 135); /* oklch */ color: oklch(64.8% 0.083 5.6);
Tailwind
colors: {
custom: {
50: '#d0a0a9',
500: '#ba7987',
950: '#000000',
},
}SCSS
$custom: #ba7987; $custom-light: #d0a0a9; $custom-dark: #000000;
JSON
{
"hex": "#ba7987",
"rgb": {
"r": 186,
"g": 121,
"b": 135
},
"hsl": {
"h": 347.077,
"s": 32.02,
"l": 60.196
},
"oklch": {
"l": 0.64767,
"c": 0.08299,
"h": 5.6
},
"luminance": 0.25863
}Semantic roles & 50–950 ramp
primary
#BA7987
secondary
#BBD4CE
accent
#AB933B
background
#FCF9FA
surface
#F9F2F4
border
#D2CCCE
text
#140F10
muted
#827E7F