#BA4E98#BA4E98
#BA4E98 is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.8% C 0.163 H 341.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E98 |
|---|---|
| RGB | rgb(186, 78, 152) |
| HSL | hsl(319, 44%, 52%) |
| HSV | hsv(319, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 18.3%, 27.1%) |
| CIE-LAB | lab(49.69, 52.09, -19.30) |
| CIE-LCH | lch(49.69, 55.55, 339.67°) |
| OKLab | oklab(58.76% 0.1548 -0.0516) |
| OKLCH | oklch(58.76% 0.163 341.6) |
| XYZ | xyz(28.6422, 18.1573, 31.6959) |
| Luminance | 0.1815 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 6.38
Purpley Pink
#C83CB9
ΔE00 6.84
Purpleish
#98568D
ΔE00 6.85
Light Plum
#9D5783
ΔE00 6.85
Pinky Purple
#C94CBE
ΔE00 7.18
Ugly Purple
#A442A0
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E98 #4EBA70
analogous
#A64EBA #BA4E98 #BA4E62
triadic
#BA4E98 #98BA4E #4E98BA
tetradic
#BA4E98 #BAA64E #4EBA70 #4E62BA
square
#BA4E98 #BAA64E #4EBA70 #4E62BA
split-complementary
#BA4E98 #62BA4E #4EBAA6
monochromatic
#662852 #923976 #BA4E98 #CB7AB2 #DCA6CB
Accessibility & contrast
On white
4.53
#BA4E98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#BA4E98 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4E98
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E98 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4E98 | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556B9A
Deuteranopia (green-blind)
#747D95
Tritanopia (blue-blind)
#C44F6C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba4e98; /* rgb */ color: rgb(186, 78, 152); /* oklch */ color: oklch(58.8% 0.163 341.6);
Tailwind
colors: {
custom: {
50: '#d285b6',
500: '#ba4e98',
950: '#000000',
},
}SCSS
$custom: #ba4e98; $custom-light: #d285b6; $custom-dark: #000000;
JSON
{
"hex": "#ba4e98",
"rgb": {
"r": 186,
"g": 78,
"b": 152
},
"hsl": {
"h": 318.889,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58756,
"c": 0.1632,
"h": 341.6
},
"luminance": 0.18155
}Semantic roles & 50–950 ramp
primary
#BA4E98
secondary
#9ACAA9
accent
#D47C54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80