#BA5397#BA5397
#BA5397 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.4% C 0.155 H 342.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5397 |
|---|---|
| RGB | rgb(186, 83, 151) |
| HSL | hsl(320, 43%, 53%) |
| HSV | hsv(320, 55%, 73%) |
| CMYK | cmyk(0%, 55.4%, 18.8%, 27.1%) |
| CIE-LAB | lab(50.53, 49.58, -17.42) |
| CIE-LCH | lch(50.53, 52.56, 340.64°) |
| OKLab | oklab(59.37% 0.1475 -0.0464) |
| OKLCH | oklch(59.37% 0.155 342.5) |
| XYZ | xyz(28.9295, 18.8624, 31.3893) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.82
Light Plum
#9D5783
ΔE00 6.57
Purpleish
#98568D
ΔE00 6.97
Pinky Purple
#C94CBE
ΔE00 7.62
Purpley Pink
#C83CB9
ΔE00 7.69
Purplish
#94568C
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5397 #53BA76
analogous
#A953BA #BA5397 #BA5363
triadic
#BA5397 #97BA53 #5397BA
tetradic
#BA5397 #BAA953 #53BA76 #5363BA
square
#BA5397 #BAA953 #53BA76 #5363BA
split-complementary
#BA5397 #63BA53 #53BAA9
monochromatic
#692A53 #943B76 #BA5397 #CC7FB1 #DDAACC
Accessibility & contrast
On white
4.40
#BA5397 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#BA5397 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5397
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5397 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5397 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#777E94
Tritanopia (blue-blind)
#C4546E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba5397; /* rgb */ color: rgb(186, 83, 151); /* oklch */ color: oklch(59.4% 0.155 342.5);
Tailwind
colors: {
custom: {
50: '#d188b5',
500: '#ba5397',
950: '#000000',
},
}SCSS
$custom: #ba5397; $custom-light: #d188b5; $custom-dark: #000000;
JSON
{
"hex": "#ba5397",
"rgb": {
"r": 186,
"g": 83,
"b": 151
},
"hsl": {
"h": 320.388,
"s": 42.739,
"l": 52.745
},
"oklch": {
"l": 0.59365,
"c": 0.15466,
"h": 342.5
},
"luminance": 0.1886
}Semantic roles & 50–950 ramp
primary
#BA5397
secondary
#9ECBAD
accent
#D38055
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80