#BA4E9D#BA4E9D
#BA4E9D is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.0% C 0.167 H 339.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E9D |
|---|---|
| RGB | rgb(186, 78, 157) |
| HSL | hsl(316, 44%, 52%) |
| HSV | hsv(316, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 15.6%, 27.1%) |
| CIE-LAB | lab(49.89, 52.84, -21.95) |
| CIE-LCH | lch(49.89, 57.22, 337.44°) |
| OKLab | oklab(58.97% 0.1559 -0.0591) |
| OKLCH | oklch(58.97% 0.167 339.3) |
| XYZ | xyz(29.0604, 18.3246, 33.8982) |
| Luminance | 0.1832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.87
Purplish Pink
#CE5DAE
ΔE00 6.07
Pinky Purple
#C94CBE
ΔE00 6.19
Ugly Purple
#A442A0
ΔE00 6.68
Purpleish
#98568D
ΔE00 6.96
Light Plum
#9D5783
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E9D #4EBA6B
analogous
#A14EBA #BA4E9D #BA4E67
triadic
#BA4E9D #9DBA4E #4E9DBA
tetradic
#BA4E9D #BAA14E #4EBA6B #4E67BA
square
#BA4E9D #BAA14E #4EBA6B #4E67BA
split-complementary
#BA4E9D #67BA4E #4EBAA1
monochromatic
#662855 #92397A #BA4E9D #CB7AB5 #DCA6CE
Accessibility & contrast
On white
4.50
#BA4E9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#BA4E9D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4E9D
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E9D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4E9D | 1.00 | 4.50 | 4.66 | 4.66 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#536CA0
Deuteranopia (green-blind)
#727D9A
Tritanopia (blue-blind)
#C4516F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba4e9d; /* rgb */ color: rgb(186, 78, 157); /* oklch */ color: oklch(59.0% 0.167 339.3);
Tailwind
colors: {
custom: {
50: '#d185ba',
500: '#ba4e9d',
950: '#000000',
},
}SCSS
$custom: #ba4e9d; $custom-light: #d185ba; $custom-dark: #000000;
JSON
{
"hex": "#ba4e9d",
"rgb": {
"r": 186,
"g": 78,
"b": 157
},
"hsl": {
"h": 316.111,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58971,
"c": 0.16673,
"h": 339.3
},
"luminance": 0.18322
}Semantic roles & 50–950 ramp
primary
#BA4E9D
secondary
#9ACAA7
accent
#D47654
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80