#BA4E97#BA4E97
#BA4E97 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.7% C 0.163 H 342.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E97 |
|---|---|
| RGB | rgb(186, 78, 151) |
| HSL | hsl(319, 44%, 52%) |
| HSV | hsv(319, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 18.8%, 27.1%) |
| CIE-LAB | lab(49.65, 51.94, -18.76) |
| CIE-LCH | lch(49.65, 55.22, 340.14°) |
| OKLab | oklab(58.71% 0.1546 -0.0501) |
| OKLCH | oklch(58.71% 0.163 342) |
| XYZ | xyz(28.5607, 18.1247, 31.2664) |
| Luminance | 0.1812 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 6.46
Light Plum
#9D5783
ΔE00 6.74
Purpleish
#98568D
ΔE00 6.85
Purpley Pink
#C83CB9
ΔE00 7.04
Pinky Purple
#C94CBE
ΔE00 7.39
Ugly Purple
#A442A0
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E97 #4EBA71
analogous
#A74EBA #BA4E97 #BA4E61
triadic
#BA4E97 #97BA4E #4E97BA
tetradic
#BA4E97 #BAA74E #4EBA71 #4E61BA
square
#BA4E97 #BAA74E #4EBA71 #4E61BA
split-complementary
#BA4E97 #61BA4E #4EBAA7
monochromatic
#662852 #923975 #BA4E97 #CB7AB1 #DCA6CB
Accessibility & contrast
On white
4.54
#BA4E97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#BA4E97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4E97
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4E97 | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556B99
Deuteranopia (green-blind)
#747D94
Tritanopia (blue-blind)
#C54F6C
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba4e97; /* rgb */ color: rgb(186, 78, 151); /* oklch */ color: oklch(58.7% 0.163 342.0);
Tailwind
colors: {
custom: {
50: '#d285b5',
500: '#ba4e97',
950: '#000000',
},
}SCSS
$custom: #ba4e97; $custom-light: #d285b5; $custom-dark: #000000;
JSON
{
"hex": "#ba4e97",
"rgb": {
"r": 186,
"g": 78,
"b": 151
},
"hsl": {
"h": 319.444,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58714,
"c": 0.16251,
"h": 342
},
"luminance": 0.18122
}Semantic roles & 50–950 ramp
primary
#BA4E97
secondary
#9ACAAA
accent
#D47D54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80