#BA4E9C#BA4E9C
#BA4E9C is a mid, vivid pink. Relative luminance 0.183; OKLCH L 58.9% C 0.166 H 339.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E9C |
|---|---|
| RGB | rgb(186, 78, 156) |
| HSL | hsl(317, 44%, 52%) |
| HSV | hsv(317, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 16.1%, 27.1%) |
| CIE-LAB | lab(49.85, 52.69, -21.42) |
| CIE-LCH | lch(49.85, 56.88, 337.87°) |
| OKLab | oklab(58.93% 0.1557 -0.0576) |
| OKLCH | oklch(58.93% 0.166 339.7) |
| XYZ | xyz(28.9753, 18.2906, 33.4504) |
| Luminance | 0.1829 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 6.06
Purplish Pink
#CE5DAE
ΔE00 6.12
Pinky Purple
#C94CBE
ΔE00 6.38
Ugly Purple
#A442A0
ΔE00 6.79
Purpleish
#98568D
ΔE00 6.92
Light Plum
#9D5783
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E9C #4EBA6C
analogous
#A24EBA #BA4E9C #BA4E66
triadic
#BA4E9C #9CBA4E #4E9CBA
tetradic
#BA4E9C #BAA24E #4EBA6C #4E66BA
square
#BA4E9C #BAA24E #4EBA6C #4E66BA
split-complementary
#BA4E9C #66BA4E #4EBAA2
monochromatic
#662855 #923979 #BA4E9C #CB7AB5 #DCA6CD
Accessibility & contrast
On white
4.51
#BA4E9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#BA4E9C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4E9C
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E9C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4E9C | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 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)
#536C9E
Deuteranopia (green-blind)
#737D99
Tritanopia (blue-blind)
#C4516E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba4e9c; /* rgb */ color: rgb(186, 78, 156); /* oklch */ color: oklch(58.9% 0.166 339.7);
Tailwind
colors: {
custom: {
50: '#d185b9',
500: '#ba4e9c',
950: '#000000',
},
}SCSS
$custom: #ba4e9c; $custom-light: #d185b9; $custom-dark: #000000;
JSON
{
"hex": "#ba4e9c",
"rgb": {
"r": 186,
"g": 78,
"b": 156
},
"hsl": {
"h": 316.667,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58927,
"c": 0.16602,
"h": 339.7
},
"luminance": 0.18288
}Semantic roles & 50–950 ramp
primary
#BA4E9C
secondary
#9ACAA7
accent
#D47854
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80