#BA5299#BA5299
#BA5299 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.3% C 0.158 H 341.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5299 |
|---|---|
| RGB | rgb(186, 82, 153) |
| HSL | hsl(319, 43%, 53%) |
| HSV | hsv(319, 56%, 73%) |
| CMYK | cmyk(0%, 55.9%, 17.7%, 27.1%) |
| CIE-LAB | lab(50.42, 50.36, -18.76) |
| CIE-LCH | lch(50.42, 53.74, 339.57°) |
| OKLab | oklab(59.32% 0.1494 -0.0502) |
| OKLCH | oklch(59.32% 0.158 341.4) |
| XYZ | xyz(29.0173, 18.7760, 32.2267) |
| Luminance | 0.1877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.74
Light Plum
#9D5783
ΔE00 6.81
Purpleish
#98568D
ΔE00 6.91
Pinky Purple
#C94CBE
ΔE00 7.13
Purpley Pink
#C83CB9
ΔE00 7.15
Purplish
#94568C
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5299 #52BA73
analogous
#A752BA #BA5299 #BA5265
triadic
#BA5299 #99BA52 #5299BA
tetradic
#BA5299 #BAA752 #52BA73 #5265BA
square
#BA5299 #BAA752 #52BA73 #5265BA
split-complementary
#BA5299 #65BA52 #52BAA7
monochromatic
#682A54 #943B78 #BA5299 #CB7EB3 #DDAACD
Accessibility & contrast
On white
4.42
#BA5299 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#BA5299 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5299
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5299 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5299 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586D9B
Deuteranopia (green-blind)
#767E96
Tritanopia (blue-blind)
#C4536F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #ba5299; /* rgb */ color: rgb(186, 82, 153); /* oklch */ color: oklch(59.3% 0.158 341.4);
Tailwind
colors: {
custom: {
50: '#d187b7',
500: '#ba5299',
950: '#000000',
},
}SCSS
$custom: #ba5299; $custom-light: #d187b7; $custom-dark: #000000;
JSON
{
"hex": "#ba5299",
"rgb": {
"r": 186,
"g": 82,
"b": 153
},
"hsl": {
"h": 319.038,
"s": 42.975,
"l": 52.549
},
"oklch": {
"l": 0.59315,
"c": 0.15764,
"h": 341.4
},
"luminance": 0.18774
}Semantic roles & 50–950 ramp
primary
#BA5299
secondary
#9DCAAC
accent
#D37D55
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80