#BA8EA7#BA8EA7
#BA8EA7 is a light, moderate pink. Relative luminance 0.326; OKLCH L 69.6% C 0.063 H 343.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).
Color values
| HEX | #BA8EA7 |
|---|---|
| RGB | rgb(186, 142, 167) |
| HSL | hsl(326, 24%, 64%) |
| HSV | hsv(326, 24%, 73%) |
| CMYK | cmyk(0%, 23.7%, 10.2%, 27.1%) |
| CIE-LAB | lab(63.82, 20.71, -6.69) |
| CIE-LCH | lch(63.82, 21.76, 342.11°) |
| OKLab | oklab(69.61% 0.0604 -0.0176) |
| OKLCH | oklch(69.61% 0.063 343.8) |
| XYZ | xyz(36.8975, 32.5764, 40.8960) |
| Luminance | 0.3257 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Mauve
#C292A1
ΔE00 3.96
Dusty Lavender
#AC86A8
ΔE00 4.58
Grey Pink
#C3909B
ΔE00 5.53
Heather
#A484AC
ΔE00 7.36
Lilac
#C8A2C8
ΔE00 7.40
Dull Pink
#D5869D
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA8EA7 #8EBAA1
analogous
#B78EBA #BA8EA7 #BA8E91
triadic
#BA8EA7 #A7BA8E #8EA7BA
tetradic
#BA8EA7 #BAB78E #8EBAA1 #8E91BA
square
#BA8EA7 #BAB78E #8EBAA1 #8E91BA
split-complementary
#BA8EA7 #91BA8E #8EBAB7
monochromatic
#804E6A #A36889 #BA8EA7 #D1B4C5 #E8DAE2
Accessibility & contrast
On white
2.79
#BA8EA7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.51
#BA8EA7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #BA8EA7
7.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA8EA7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA8EA7 | 1.00 | 2.79 | 7.51 | 7.51 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9097A8
Deuteranopia (green-blind)
#9A9DA6
Tritanopia (blue-blind)
#C08E96
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ba8ea7; /* rgb */ color: rgb(186, 142, 167); /* oklch */ color: oklch(69.6% 0.063 343.8);
Tailwind
colors: {
custom: {
50: '#cfafc1',
500: '#ba8ea7',
950: '#000000',
},
}SCSS
$custom: #ba8ea7; $custom-light: #cfafc1; $custom-dark: #000000;
JSON
{
"hex": "#ba8ea7",
"rgb": {
"r": 186,
"g": 142,
"b": 167
},
"hsl": {
"h": 325.909,
"s": 24.176,
"l": 64.314
},
"oklch": {
"l": 0.69607,
"c": 0.06287,
"h": 343.8
},
"luminance": 0.32575
}Semantic roles & 50–950 ramp
primary
#BA8EA7
secondary
#CADAD1
accent
#A36C43
background
#FCFAFB
surface
#F9F4F7
border
#D2CED0
text
#141012
muted
#827F81