#BA4E8A#BA4E8A
#BA4E8A is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.2% C 0.154 H 348.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E8A |
|---|---|
| RGB | rgb(186, 78, 138) |
| HSL | hsl(327, 44%, 52%) |
| HSV | hsv(327, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 25.8%, 27.1%) |
| CIE-LAB | lab(49.16, 50.08, -11.75) |
| CIE-LCH | lch(49.16, 51.44, 346.80°) |
| OKLab | oklab(58.19% 0.1512 -0.0308) |
| OKLCH | oklch(58.19% 0.154 348.5) |
| XYZ | xyz(27.5625, 17.7254, 26.0096) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.97
Mediumvioletred
#C71585
ΔE00 7.05
Purpleish
#98568D
ΔE00 7.62
Darkish Pink
#DA467D
ΔE00 8.09
Purplish Pink
#CE5DAE
ΔE00 8.12
Purplish
#94568C
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E8A #4EBA7E
analogous
#B44EBA #BA4E8A #BA4E54
triadic
#BA4E8A #8ABA4E #4E8ABA
tetradic
#BA4E8A #BAB44E #4EBA7E #4E54BA
square
#BA4E8A #BAB44E #4EBA7E #4E54BA
split-complementary
#BA4E8A #54BA4E #4EBAB4
monochromatic
#66284A #92396A #BA4E8A #CB7AA7 #DCA6C4
Accessibility & contrast
On white
4.62
#BA4E8A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#BA4E8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E8A
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E8A | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A698C
Deuteranopia (green-blind)
#787C87
Tritanopia (blue-blind)
#C64B66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba4e8a; /* rgb */ color: rgb(186, 78, 138); /* oklch */ color: oklch(58.2% 0.154 348.5);
Tailwind
colors: {
custom: {
50: '#d285ac',
500: '#ba4e8a',
950: '#000000',
},
}SCSS
$custom: #ba4e8a; $custom-light: #d285ac; $custom-dark: #000000;
JSON
{
"hex": "#ba4e8a",
"rgb": {
"r": 186,
"g": 78,
"b": 138
},
"hsl": {
"h": 326.667,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58195,
"c": 0.15432,
"h": 348.5
},
"luminance": 0.17723
}Semantic roles & 50–950 ramp
primary
#BA4E8A
secondary
#9ACAAF
accent
#D48D54
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F