#BA509B#BA509B
#BA509B is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.1% C 0.162 H 340.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #BA509B |
|---|---|
| RGB | rgb(186, 80, 155) |
| HSL | hsl(318, 43%, 52%) |
| HSV | hsv(318, 57%, 73%) |
| CMYK | cmyk(0%, 57%, 16.7%, 27.1%) |
| CIE-LAB | lab(50.15, 51.61, -20.36) |
| CIE-LCH | lch(50.15, 55.48, 338.47°) |
| OKLab | oklab(59.14% 0.1527 -0.0546) |
| OKLCH | oklch(59.14% 0.162 340.3) |
| XYZ | xyz(29.0353, 18.5454, 33.0544) |
| Luminance | 0.1854 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.87
Purpley Pink
#C83CB9
ΔE00 6.49
Pinky Purple
#C94CBE
ΔE00 6.63
Purpleish
#98568D
ΔE00 6.90
Light Plum
#9D5783
ΔE00 7.12
Ugly Purple
#A442A0
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA509B #50BA6F
analogous
#A450BA #BA509B #BA5066
triadic
#BA509B #9BBA50 #509BBA
tetradic
#BA509B #BAA450 #50BA6F #5066BA
square
#BA509B #BAA450 #50BA6F #5066BA
split-complementary
#BA509B #66BA50 #50BAA4
monochromatic
#672955 #933A79 #BA509B #CB7CB4 #DDA8CD
Accessibility & contrast
On white
4.46
#BA509B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#BA509B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA509B
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA509B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA509B | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#566D9D
Deuteranopia (green-blind)
#747E98
Tritanopia (blue-blind)
#C4526E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #ba509b; /* rgb */ color: rgb(186, 80, 155); /* oklch */ color: oklch(59.1% 0.162 340.3);
Tailwind
colors: {
custom: {
50: '#d186b8',
500: '#ba509b',
950: '#000000',
},
}SCSS
$custom: #ba509b; $custom-light: #d186b8; $custom-dark: #000000;
JSON
{
"hex": "#ba509b",
"rgb": {
"r": 186,
"g": 80,
"b": 155
},
"hsl": {
"h": 317.547,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.59139,
"c": 0.1622,
"h": 340.3
},
"luminance": 0.18543
}Semantic roles & 50–950 ramp
primary
#BA509B
secondary
#9CCAA9
accent
#D37A55
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C11
muted
#837D80