#BA797E#BA797E
#BA797E is a light, moderate red. Relative luminance 0.256; OKLCH L 64.5% C 0.082 H 14.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #BA797E |
|---|---|
| RGB | rgb(186, 121, 126) |
| HSL | hsl(355, 32%, 60%) |
| HSV | hsv(355, 35%, 73%) |
| CMYK | cmyk(0%, 34.9%, 32.3%, 27.1%) |
| CIE-LAB | lab(57.68, 26.06, 7.82) |
| CIE-LCH | lch(57.68, 27.21, 16.71°) |
| OKLab | oklab(64.51% 0.0791 0.0206) |
| OKLCH | oklch(64.51% 0.082 14.6) |
| XYZ | xyz(30.8540, 25.6223, 23.0552) |
| Luminance | 0.2562 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Rose
#C0737A
ΔE00 2.39
Dirty Pink
#CA7B80
ΔE00 3.39
Old Pink
#C77986
ΔE00 3.56
Old Rose
#C87F89
ΔE00 3.59
Brownish Pink
#C27E79
ΔE00 4.37
Ugly Pink
#CD7584
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA797E #79BAB5
analogous
#BA799E #BA797E #BA9579
triadic
#BA797E #7EBA79 #797EBA
tetradic
#BA797E #9EBA79 #79BAB5 #9579BA
square
#BA797E #9EBA79 #79BAB5 #9579BA
split-complementary
#BA797E #79BA95 #799EBA
monochromatic
#7A3F43 #A2545A #BA797E #CFA1A5 #E4CACC
Accessibility & contrast
On white
3.43
#BA797E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#BA797E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA797E
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA797E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA797E | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85837E
Deuteranopia (green-blind)
#948F7D
Tritanopia (blue-blind)
#C6737B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #ba797e; /* rgb */ color: rgb(186, 121, 126); /* oklch */ color: oklch(64.5% 0.082 14.6);
Tailwind
colors: {
custom: {
50: '#d0a0a3',
500: '#ba797e',
950: '#000000',
},
}SCSS
$custom: #ba797e; $custom-light: #d0a0a3; $custom-dark: #000000;
JSON
{
"hex": "#ba797e",
"rgb": {
"r": 186,
"g": 121,
"b": 126
},
"hsl": {
"h": 355.385,
"s": 32.02,
"l": 60.196
},
"oklch": {
"l": 0.64512,
"c": 0.08172,
"h": 14.6
},
"luminance": 0.2562
}Semantic roles & 50–950 ramp
primary
#BA797E
secondary
#BBD4D2
accent
#ABA23B
background
#FDF9FA
surface
#FAF2F3
border
#D3CCCD
text
#140F0F
muted
#837E7F