#BA549B#BA549B
#BA549B is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.7% C 0.156 H 340.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #BA549B |
|---|---|
| RGB | rgb(186, 84, 155) |
| HSL | hsl(318, 43%, 53%) |
| HSV | hsv(318, 55%, 73%) |
| CMYK | cmyk(0%, 54.8%, 16.7%, 27.1%) |
| CIE-LAB | lab(50.86, 49.71, -19.28) |
| CIE-LCH | lch(50.86, 53.32, 338.81°) |
| OKLab | oklab(59.66% 0.1471 -0.0516) |
| OKLCH | oklch(59.66% 0.156 340.7) |
| XYZ | xyz(29.3369, 19.1486, 33.1549) |
| Luminance | 0.1915 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.31
Pinky Purple
#C94CBE
ΔE00 6.84
Purpleish
#98568D
ΔE00 7.00
Light Plum
#9D5783
ΔE00 7.01
Purpley Pink
#C83CB9
ΔE00 7.06
Purplish
#94568C
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA549B #54BA73
analogous
#A654BA #BA549B #BA5468
triadic
#BA549B #9BBA54 #549BBA
tetradic
#BA549B #BAA654 #54BA73 #5468BA
square
#BA549B #BAA654 #54BA73 #5468BA
split-complementary
#BA549B #68BA54 #54BAA6
monochromatic
#692A56 #953C7A #BA549B #CC80B4 #DDABCE
Accessibility & contrast
On white
4.35
#BA549B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#BA549B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA549B
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA549B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA549B | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#596F9D
Deuteranopia (green-blind)
#767F98
Tritanopia (blue-blind)
#C45670
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #ba549b; /* rgb */ color: rgb(186, 84, 155); /* oklch */ color: oklch(59.7% 0.156 340.7);
Tailwind
colors: {
custom: {
50: '#d189b8',
500: '#ba549b',
950: '#000000',
},
}SCSS
$custom: #ba549b; $custom-light: #d189b8; $custom-dark: #000000;
JSON
{
"hex": "#ba549b",
"rgb": {
"r": 186,
"g": 84,
"b": 155
},
"hsl": {
"h": 318.235,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.59664,
"c": 0.15586,
"h": 340.7
},
"luminance": 0.19146
}Semantic roles & 50–950 ramp
primary
#BA549B
secondary
#9FCBAC
accent
#D27B56
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80