#BA787E#BA787E
#BA787E is a light, moderate red. Relative luminance 0.254; OKLCH L 64.3% C 0.083 H 13.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BA787E |
|---|---|
| RGB | rgb(186, 120, 126) |
| HSL | hsl(355, 32%, 60%) |
| HSV | hsv(355, 35%, 73%) |
| CMYK | cmyk(0%, 35.5%, 32.3%, 27.1%) |
| CIE-LAB | lab(57.44, 26.61, 7.49) |
| CIE-LCH | lch(57.44, 27.65, 15.72°) |
| OKLab | oklab(64.33% 0.0808 0.0197) |
| OKLCH | oklch(64.33% 0.083 13.7) |
| XYZ | xyz(30.7331, 25.3806, 23.0149) |
| Luminance | 0.2538 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Rose
#C0737A
ΔE00 2.15
Old Pink
#C77986
ΔE00 3.34
Dirty Pink
#CA7B80
ΔE00 3.47
Old Rose
#C87F89
ΔE00 3.57
Ugly Pink
#CD7584
ΔE00 4.50
Brownish Pink
#C27E79
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA787E #78BAB4
analogous
#BA789F #BA787E #BA9378
triadic
#BA787E #7EBA78 #787EBA
tetradic
#BA787E #9FBA78 #78BAB4 #9378BA
square
#BA787E #9FBA78 #78BAB4 #9378BA
split-complementary
#BA787E #78BA93 #789FBA
monochromatic
#7A3E44 #A2535A #BA787E #CFA0A5 #E3C9CB
Accessibility & contrast
On white
3.46
#BA787E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#BA787E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA787E
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA787E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA787E | 1.00 | 3.46 | 6.08 | 6.08 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84827E
Deuteranopia (green-blind)
#948F7D
Tritanopia (blue-blind)
#C6727A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ba787e; /* rgb */ color: rgb(186, 120, 126); /* oklch */ color: oklch(64.3% 0.083 13.7);
Tailwind
colors: {
custom: {
50: '#d09fa3',
500: '#ba787e',
950: '#000000',
},
}SCSS
$custom: #ba787e; $custom-light: #d09fa3; $custom-dark: #000000;
JSON
{
"hex": "#ba787e",
"rgb": {
"r": 186,
"g": 120,
"b": 126
},
"hsl": {
"h": 354.545,
"s": 32.353,
"l": 60
},
"oklch": {
"l": 0.64334,
"c": 0.08312,
"h": 13.7
},
"luminance": 0.25378
}Semantic roles & 50–950 ramp
primary
#BA787E
secondary
#BAD4D1
accent
#C9BF5F
background
#FDF9FA
surface
#FAF2F3
border
#D3CCCD
text
#140E0F
muted
#837E7F