#BA4B99#BA4B99
#BA4B99 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.4% C 0.168 H 340.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4B99 |
|---|---|
| RGB | rgb(186, 75, 153) |
| HSL | hsl(318, 45%, 51%) |
| HSV | hsv(318, 60%, 73%) |
| CMYK | cmyk(0%, 59.7%, 17.7%, 27.1%) |
| CIE-LAB | lab(49.22, 53.60, -20.61) |
| CIE-LCH | lch(49.22, 57.43, 338.97°) |
| OKLab | oklab(58.43% 0.1591 -0.0553) |
| OKLCH | oklch(58.43% 0.168 340.8) |
| XYZ | xyz(28.5162, 17.7736, 32.0596) |
| Luminance | 0.1777 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 6.34
Ugly Purple
#A442A0
ΔE00 6.66
Purplish Pink
#CE5DAE
ΔE00 6.77
Purpleish
#98568D
ΔE00 6.89
Pinky Purple
#C94CBE
ΔE00 6.95
Light Plum
#9D5783
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4B99 #4BBA6C
analogous
#A34BBA #BA4B99 #BA4B61
triadic
#BA4B99 #99BA4B #4B99BA
tetradic
#BA4B99 #BAA34B #4BBA6C #4B61BA
square
#BA4B99 #BAA34B #4BBA6C #4B61BA
split-complementary
#BA4B99 #61BA4B #4BBAA3
monochromatic
#642652 #903776 #BA4B99 #CB77B2 #DCA3CB
Accessibility & contrast
On white
4.61
#BA4B99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#BA4B99 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4B99
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4B99 | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#727C96
Tritanopia (blue-blind)
#C44D6B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba4b99; /* rgb */ color: rgb(186, 75, 153); /* oklch */ color: oklch(58.4% 0.168 340.8);
Tailwind
colors: {
custom: {
50: '#d283b7',
500: '#ba4b99',
950: '#000000',
},
}SCSS
$custom: #ba4b99; $custom-light: #d283b7; $custom-dark: #000000;
JSON
{
"hex": "#ba4b99",
"rgb": {
"r": 186,
"g": 75,
"b": 153
},
"hsl": {
"h": 317.838,
"s": 44.578,
"l": 51.176
},
"oklch": {
"l": 0.58425,
"c": 0.16846,
"h": 340.8
},
"luminance": 0.17771
}Semantic roles & 50–950 ramp
primary
#BA4B99
secondary
#98C9A6
accent
#D47A54
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B11
muted
#837C80