#BA4E8C#BA4E8C
#BA4E8C is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.3% C 0.155 H 347.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E8C |
|---|---|
| RGB | rgb(186, 78, 140) |
| HSL | hsl(326, 44%, 52%) |
| HSV | hsv(326, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 24.7%, 27.1%) |
| CIE-LAB | lab(49.23, 50.36, -12.84) |
| CIE-LCH | lch(49.23, 51.97, 345.70°) |
| OKLab | oklab(58.27% 0.1518 -0.0337) |
| OKLCH | oklch(58.27% 0.155 347.5) |
| XYZ | xyz(27.7087, 17.7839, 26.7792) |
| Luminance | 0.1778 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.99
Mediumvioletred
#C71585
ΔE00 7.03
Purpleish
#98568D
ΔE00 7.42
Purplish Pink
#CE5DAE
ΔE00 7.80
Purplish
#94568C
ΔE00 8.27
Darkish Pink
#DA467D
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E8C #4EBA7C
analogous
#B24EBA #BA4E8C #BA4E56
triadic
#BA4E8C #8CBA4E #4E8CBA
tetradic
#BA4E8C #BAB24E #4EBA7C #4E56BA
square
#BA4E8C #BAB24E #4EBA7C #4E56BA
split-complementary
#BA4E8C #56BA4E #4EBAB2
monochromatic
#66284B #92396C #BA4E8C #CB7AA9 #DCA6C5
Accessibility & contrast
On white
4.61
#BA4E8C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#BA4E8C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E8C
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E8C | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A698E
Deuteranopia (green-blind)
#787C89
Tritanopia (blue-blind)
#C64B67
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba4e8c; /* rgb */ color: rgb(186, 78, 140); /* oklch */ color: oklch(58.3% 0.155 347.5);
Tailwind
colors: {
custom: {
50: '#d285ad',
500: '#ba4e8c',
950: '#000000',
},
}SCSS
$custom: #ba4e8c; $custom-light: #d285ad; $custom-dark: #000000;
JSON
{
"hex": "#ba4e8c",
"rgb": {
"r": 186,
"g": 78,
"b": 140
},
"hsl": {
"h": 325.556,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58272,
"c": 0.15549,
"h": 347.5
},
"luminance": 0.17781
}Semantic roles & 50–950 ramp
primary
#BA4E8C
secondary
#9ACAAE
accent
#D48A54
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F