#BA508A#BA508A
#BA508A is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.5% C 0.151 H 348.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BA508A |
|---|---|
| RGB | rgb(186, 80, 138) |
| HSL | hsl(327, 43%, 52%) |
| HSV | hsv(327, 57%, 73%) |
| CMYK | cmyk(0%, 57%, 25.8%, 27.1%) |
| CIE-LAB | lab(49.51, 49.14, -11.22) |
| CIE-LCH | lch(49.51, 50.41, 347.14°) |
| OKLab | oklab(58.46% 0.1484 -0.0293) |
| OKLCH | oklch(58.46% 0.151 348.8) |
| XYZ | xyz(27.7068, 18.0140, 26.0577) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 5.94
Mediumvioletred
#C71585
ΔE00 7.51
Purpleish
#98568D
ΔE00 7.71
Darkish Pink
#DA467D
ΔE00 7.91
Purplish Pink
#CE5DAE
ΔE00 7.97
Purplish
#94568C
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA508A #50BA80
analogous
#B550BA #BA508A #BA5055
triadic
#BA508A #8ABA50 #508ABA
tetradic
#BA508A #BAB550 #50BA80 #5055BA
square
#BA508A #BAB550 #50BA80 #5055BA
split-complementary
#BA508A #55BA50 #50BAB5
monochromatic
#67294B #933A6B #BA508A #CB7CA7 #DDA8C5
Accessibility & contrast
On white
4.56
#BA508A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#BA508A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA508A
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA508A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA508A | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6A8C
Deuteranopia (green-blind)
#797D87
Tritanopia (blue-blind)
#C64D67
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba508a; /* rgb */ color: rgb(186, 80, 138); /* oklch */ color: oklch(58.5% 0.151 348.8);
Tailwind
colors: {
custom: {
50: '#d286ac',
500: '#ba508a',
950: '#000000',
},
}SCSS
$custom: #ba508a; $custom-light: #d286ac; $custom-dark: #000000;
JSON
{
"hex": "#ba508a",
"rgb": {
"r": 186,
"g": 80,
"b": 138
},
"hsl": {
"h": 327.17,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.58456,
"c": 0.15122,
"h": 348.8
},
"luminance": 0.18011
}Semantic roles & 50–950 ramp
primary
#BA508A
secondary
#9CCAB1
accent
#D38E55
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F