#BA5599#BA5599
#BA5599 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.7% C 0.153 H 341.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5599 |
|---|---|
| RGB | rgb(186, 85, 153) |
| HSL | hsl(320, 42%, 53%) |
| HSV | hsv(320, 54%, 73%) |
| CMYK | cmyk(0%, 54.3%, 17.7%, 27.1%) |
| CIE-LAB | lab(50.97, 48.92, -17.93) |
| CIE-LCH | lch(50.97, 52.11, 339.87°) |
| OKLab | oklab(59.72% 0.1451 -0.0479) |
| OKLCH | oklch(59.72% 0.153 341.7) |
| XYZ | xyz(29.2485, 19.2384, 32.3037) |
| Luminance | 0.1924 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.39
Light Plum
#9D5783
ΔE00 6.76
Purpleish
#98568D
ΔE00 7.04
Pinky Purple
#C94CBE
ΔE00 7.34
Purpley Pink
#C83CB9
ΔE00 7.61
Pale Magenta
#D767AD
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5599 #55BA76
analogous
#A855BA #BA5599 #BA5566
triadic
#BA5599 #99BA55 #5599BA
tetradic
#BA5599 #BAA855 #55BA76 #5566BA
square
#BA5599 #BAA855 #55BA76 #5566BA
split-complementary
#BA5599 #66BA55 #55BAA8
monochromatic
#6A2B55 #953D78 #BA5599 #CC81B3 #DDACCD
Accessibility & contrast
On white
4.33
#BA5599 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#BA5599 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5599
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5599 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5599 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6F9B
Deuteranopia (green-blind)
#777F96
Tritanopia (blue-blind)
#C45670
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #ba5599; /* rgb */ color: rgb(186, 85, 153); /* oklch */ color: oklch(59.7% 0.153 341.7);
Tailwind
colors: {
custom: {
50: '#d189b7',
500: '#ba5599',
950: '#000000',
},
}SCSS
$custom: #ba5599; $custom-light: #d189b7; $custom-dark: #000000;
JSON
{
"hex": "#ba5599",
"rgb": {
"r": 186,
"g": 85,
"b": 153
},
"hsl": {
"h": 319.604,
"s": 42.259,
"l": 53.137
},
"oklch": {
"l": 0.59716,
"c": 0.15283,
"h": 341.7
},
"luminance": 0.19236
}Semantic roles & 50–950 ramp
primary
#BA5599
secondary
#A0CBAE
accent
#D27E56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80