#BA787F#BA787F
#BA787F is a light, moderate red. Relative luminance 0.254; OKLCH L 64.4% C 0.083 H 12.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #BA787F |
|---|---|
| RGB | rgb(186, 120, 127) |
| HSL | hsl(354, 32%, 60%) |
| HSV | hsv(354, 35%, 73%) |
| CMYK | cmyk(0%, 35.5%, 31.7%, 27.1%) |
| CIE-LAB | lab(57.47, 26.75, 6.95) |
| CIE-LCH | lch(57.47, 27.63, 14.56°) |
| OKLab | oklab(64.36% 0.0812 0.0183) |
| OKLCH | oklch(64.36% 0.083 12.7) |
| XYZ | xyz(30.7979, 25.4065, 23.3564) |
| Luminance | 0.2540 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Rose
#C0737A
ΔE00 2.24
Old Pink
#C77986
ΔE00 3.13
Old Rose
#C87F89
ΔE00 3.45
Dirty Pink
#CA7B80
ΔE00 3.59
Ugly Pink
#CD7584
ΔE00 4.35
Dusky Pink
#CC7A8B
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA787F #78BAB3
analogous
#BA78A0 #BA787F #BA9278
triadic
#BA787F #7FBA78 #787FBA
tetradic
#BA787F #A0BA78 #78BAB3 #9278BA
square
#BA787F #A0BA78 #78BAB3 #9278BA
split-complementary
#BA787F #78BA92 #78A0BA
monochromatic
#7A3E44 #A2535B #BA787F #CFA0A5 #E3C9CC
Accessibility & contrast
On white
3.45
#BA787F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.08
#BA787F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA787F
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA787F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA787F | 1.00 | 3.45 | 6.08 | 6.08 |
| #FFFFFF | 3.45 | 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)
#84827F
Deuteranopia (green-blind)
#938F7E
Tritanopia (blue-blind)
#C6727B
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #ba787f; /* rgb */ color: rgb(186, 120, 127); /* oklch */ color: oklch(64.4% 0.083 12.7);
Tailwind
colors: {
custom: {
50: '#d09fa4',
500: '#ba787f',
950: '#000000',
},
}SCSS
$custom: #ba787f; $custom-light: #d09fa4; $custom-dark: #000000;
JSON
{
"hex": "#ba787f",
"rgb": {
"r": 186,
"g": 120,
"b": 127
},
"hsl": {
"h": 353.636,
"s": 32.353,
"l": 60
},
"oklch": {
"l": 0.64361,
"c": 0.0832,
"h": 12.7
},
"luminance": 0.25404
}Semantic roles & 50–950 ramp
primary
#BA787F
secondary
#BAD4D1
accent
#C9BD5F
background
#FDF9FA
surface
#FAF2F4
border
#D3CCCE
text
#140E0F
muted
#837E7F