#BA4E92#BA4E92
#BA4E92 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.5% C 0.159 H 344.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E92 |
|---|---|
| RGB | rgb(186, 78, 146) |
| HSL | hsl(322, 44%, 52%) |
| HSV | hsv(322, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 21.5%, 27.1%) |
| CIE-LAB | lab(49.45, 51.21, -16.08) |
| CIE-LCH | lch(49.45, 53.67, 342.56°) |
| OKLab | oklab(58.51% 0.1534 -0.0427) |
| OKLCH | oklch(58.51% 0.159 344.4) |
| XYZ | xyz(28.1632, 17.9657, 29.1730) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.28
Purplish Pink
#CE5DAE
ΔE00 6.97
Purpleish
#98568D
ΔE00 6.99
Mediumvioletred
#C71585
ΔE00 7.17
Purplish
#94568C
ΔE00 7.85
Purpley Pink
#C83CB9
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E92 #4EBA76
analogous
#AC4EBA #BA4E92 #BA4E5C
triadic
#BA4E92 #92BA4E #4E92BA
tetradic
#BA4E92 #BAAC4E #4EBA76 #4E5CBA
square
#BA4E92 #BAAC4E #4EBA76 #4E5CBA
split-complementary
#BA4E92 #5CBA4E #4EBAAC
monochromatic
#66284F #923971 #BA4E92 #CB7AAD #DCA6C8
Accessibility & contrast
On white
4.57
#BA4E92 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#BA4E92 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4E92
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E92 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4E92 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 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)
#576A94
Deuteranopia (green-blind)
#767C8F
Tritanopia (blue-blind)
#C54D69
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba4e92; /* rgb */ color: rgb(186, 78, 146); /* oklch */ color: oklch(58.5% 0.159 344.4);
Tailwind
colors: {
custom: {
50: '#d285b2',
500: '#ba4e92',
950: '#000000',
},
}SCSS
$custom: #ba4e92; $custom-light: #d285b2; $custom-dark: #000000;
JSON
{
"hex": "#ba4e92",
"rgb": {
"r": 186,
"g": 78,
"b": 146
},
"hsl": {
"h": 322.222,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58509,
"c": 0.1592,
"h": 344.4
},
"luminance": 0.17963
}Semantic roles & 50–950 ramp
primary
#BA4E92
secondary
#9ACAAC
accent
#D48354
background
#FDF8FA
surface
#FAF0F5
border
#D3CBCF
text
#140B10
muted
#837C7F