#BA4E9B#BA4E9B
#BA4E9B is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.9% C 0.165 H 340.2°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E9B |
|---|---|
| RGB | rgb(186, 78, 155) |
| HSL | hsl(317, 44%, 52%) |
| HSV | hsv(317, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 16.7%, 27.1%) |
| CIE-LAB | lab(49.81, 52.54, -20.89) |
| CIE-LCH | lch(49.81, 56.54, 338.31°) |
| OKLab | oklab(58.88% 0.1555 -0.0561) |
| OKLCH | oklch(58.88% 0.165 340.2) |
| XYZ | xyz(28.8910, 18.2568, 33.0063) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 6.17
Purpley Pink
#C83CB9
ΔE00 6.25
Pinky Purple
#C94CBE
ΔE00 6.58
Purpleish
#98568D
ΔE00 6.89
Ugly Purple
#A442A0
ΔE00 6.90
Light Plum
#9D5783
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E9B #4EBA6D
analogous
#A34EBA #BA4E9B #BA4E65
triadic
#BA4E9B #9BBA4E #4E9BBA
tetradic
#BA4E9B #BAA34E #4EBA6D #4E65BA
square
#BA4E9B #BAA34E #4EBA6D #4E65BA
split-complementary
#BA4E9B #65BA4E #4EBAA3
monochromatic
#662854 #923978 #BA4E9B #CB7AB4 #DCA6CD
Accessibility & contrast
On white
4.52
#BA4E9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#BA4E9B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4E9B
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E9B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4E9B | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546C9D
Deuteranopia (green-blind)
#737D98
Tritanopia (blue-blind)
#C4506E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba4e9b; /* rgb */ color: rgb(186, 78, 155); /* oklch */ color: oklch(58.9% 0.165 340.2);
Tailwind
colors: {
custom: {
50: '#d185b8',
500: '#ba4e9b',
950: '#000000',
},
}SCSS
$custom: #ba4e9b; $custom-light: #d185b8; $custom-dark: #000000;
JSON
{
"hex": "#ba4e9b",
"rgb": {
"r": 186,
"g": 78,
"b": 155
},
"hsl": {
"h": 317.222,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58884,
"c": 0.1653,
"h": 340.2
},
"luminance": 0.18254
}Semantic roles & 50–950 ramp
primary
#BA4E9B
secondary
#9ACAA8
accent
#D47954
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80