#BA4E91#BA4E91
#BA4E91 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.5% C 0.159 H 344.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E91 |
|---|---|
| RGB | rgb(186, 78, 145) |
| HSL | hsl(323, 44%, 52%) |
| HSV | hsv(323, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 22%, 27.1%) |
| CIE-LAB | lab(49.42, 51.06, -15.54) |
| CIE-LCH | lch(49.42, 53.38, 343.07°) |
| OKLab | oklab(58.47% 0.1531 -0.0412) |
| OKLCH | oklch(58.47% 0.159 344.9) |
| XYZ | xyz(28.0857, 17.9347, 28.7651) |
| Luminance | 0.1793 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.21
Purpleish
#98568D
ΔE00 7.04
Purplish Pink
#CE5DAE
ΔE00 7.10
Mediumvioletred
#C71585
ΔE00 7.12
Purplish
#94568C
ΔE00 7.90
Purpley Pink
#C83CB9
ΔE00 8.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E91 #4EBA77
analogous
#AD4EBA #BA4E91 #BA4E5B
triadic
#BA4E91 #91BA4E #4E91BA
tetradic
#BA4E91 #BAAD4E #4EBA77 #4E5BBA
square
#BA4E91 #BAAD4E #4EBA77 #4E5BBA
split-complementary
#BA4E91 #5BBA4E #4EBAAD
monochromatic
#66284E #923970 #BA4E91 #CB7AAC #DCA6C8
Accessibility & contrast
On white
4.58
#BA4E91 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#BA4E91 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4E91
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E91 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4E91 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586A93
Deuteranopia (green-blind)
#767C8E
Tritanopia (blue-blind)
#C54D69
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba4e91; /* rgb */ color: rgb(186, 78, 145); /* oklch */ color: oklch(58.5% 0.159 344.9);
Tailwind
colors: {
custom: {
50: '#d285b1',
500: '#ba4e91',
950: '#000000',
},
}SCSS
$custom: #ba4e91; $custom-light: #d285b1; $custom-dark: #000000;
JSON
{
"hex": "#ba4e91",
"rgb": {
"r": 186,
"g": 78,
"b": 145
},
"hsl": {
"h": 322.778,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58468,
"c": 0.15856,
"h": 344.9
},
"luminance": 0.17932
}Semantic roles & 50–950 ramp
primary
#BA4E91
secondary
#9ACAAC
accent
#D48554
background
#FDF8FA
surface
#FAF0F5
border
#D3CBCF
text
#140B10
muted
#837C7F