#BA4E9E#BA4E9E
#BA4E9E is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.0% C 0.167 H 338.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E9E |
|---|---|
| RGB | rgb(186, 78, 158) |
| HSL | hsl(316, 44%, 52%) |
| HSV | hsv(316, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 15.1%, 27.1%) |
| CIE-LAB | lab(49.93, 53.00, -22.48) |
| CIE-LCH | lch(49.93, 57.57, 337.01°) |
| OKLab | oklab(59.01% 0.1561 -0.0606) |
| OKLCH | oklch(59.01% 0.167 338.8) |
| XYZ | xyz(29.1461, 18.3589, 34.3497) |
| Luminance | 0.1836 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.68
Pinky Purple
#C94CBE
ΔE00 6.00
Purplish Pink
#CE5DAE
ΔE00 6.04
Ugly Purple
#A442A0
ΔE00 6.58
Purpleish
#98568D
ΔE00 7.00
Light Plum
#9D5783
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E9E #4EBA6A
analogous
#A04EBA #BA4E9E #BA4E68
triadic
#BA4E9E #9EBA4E #4E9EBA
tetradic
#BA4E9E #BAA04E #4EBA6A #4E68BA
square
#BA4E9E #BAA04E #4EBA6A #4E68BA
split-complementary
#BA4E9E #68BA4E #4EBAA0
monochromatic
#662856 #92397B #BA4E9E #CB7AB6 #DCA6CE
Accessibility & contrast
On white
4.50
#BA4E9E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#BA4E9E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4E9E
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E9E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4E9E | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526CA1
Deuteranopia (green-blind)
#727D9B
Tritanopia (blue-blind)
#C4516F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba4e9e; /* rgb */ color: rgb(186, 78, 158); /* oklch */ color: oklch(59.0% 0.167 338.8);
Tailwind
colors: {
custom: {
50: '#d185bb',
500: '#ba4e9e',
950: '#000000',
},
}SCSS
$custom: #ba4e9e; $custom-light: #d185bb; $custom-dark: #000000;
JSON
{
"hex": "#ba4e9e",
"rgb": {
"r": 186,
"g": 78,
"b": 158
},
"hsl": {
"h": 315.556,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.59014,
"c": 0.16746,
"h": 338.8
},
"luminance": 0.18357
}Semantic roles & 50–950 ramp
primary
#BA4E9E
secondary
#9ACAA6
accent
#D47554
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80