#BA797A#BA797A
#BA797A is a light, moderate red. Relative luminance 0.255; OKLCH L 64.4% C 0.082 H 18.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #BA797A |
|---|---|
| RGB | rgb(186, 121, 122) |
| HSL | hsl(359, 32%, 60%) |
| HSV | hsv(359, 35%, 73%) |
| CMYK | cmyk(0%, 34.9%, 34.4%, 27.1%) |
| CIE-LAB | lab(57.58, 25.54, 10.00) |
| CIE-LCH | lch(57.58, 27.42, 21.38°) |
| OKLab | oklab(64.41% 0.0775 0.026) |
| OKLCH | oklch(64.41% 0.082 18.6) |
| XYZ | xyz(30.6010, 25.5212, 21.7229) |
| Luminance | 0.2552 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Rose
#C0737A
ΔE00 2.89
Brownish Pink
#C27E79
ΔE00 3.08
Dirty Pink
#CA7B80
ΔE00 3.51
Old Rose
#C87F89
ΔE00 4.54
Old Pink
#C77986
ΔE00 4.75
Dusky Rose
#BA6873
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA797A #79BAB9
analogous
#BA799A #BA797A #BA9879
triadic
#BA797A #7ABA79 #797ABA
tetradic
#BA797A #9ABA79 #79BAB9 #9879BA
square
#BA797A #9ABA79 #79BAB9 #9879BA
split-complementary
#BA797A #79BA98 #799ABA
monochromatic
#7A3F40 #A25455 #BA797A #CFA1A2 #E4CACA
Accessibility & contrast
On white
3.44
#BA797A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#BA797A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA797A
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA797A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA797A | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85837A
Deuteranopia (green-blind)
#958F79
Tritanopia (blue-blind)
#C6727A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ba797a; /* rgb */ color: rgb(186, 121, 122); /* oklch */ color: oklch(64.4% 0.082 18.6);
Tailwind
colors: {
custom: {
50: '#d0a0a0',
500: '#ba797a',
950: '#000000',
},
}SCSS
$custom: #ba797a; $custom-light: #d0a0a0; $custom-dark: #000000;
JSON
{
"hex": "#ba797a",
"rgb": {
"r": 186,
"g": 121,
"b": 122
},
"hsl": {
"h": 359.077,
"s": 32.02,
"l": 60.196
},
"oklch": {
"l": 0.64406,
"c": 0.08175,
"h": 18.6
},
"luminance": 0.25519
}Semantic roles & 50–950 ramp
primary
#BA797A
secondary
#BBD4D3
accent
#ABA93B
background
#FDF9F9
surface
#FAF2F2
border
#D3CCCC
text
#140F0E
muted
#837E7E