#BA507E#BA507E
#BA507E is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.0% C 0.145 H 355.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #BA507E |
|---|---|
| RGB | rgb(186, 80, 126) |
| HSL | hsl(334, 43%, 52%) |
| HSV | hsv(334, 57%, 73%) |
| CMYK | cmyk(0%, 57%, 32.3%, 27.1%) |
| CIE-LAB | lab(49.11, 47.56, -4.62) |
| CIE-LCH | lch(49.11, 47.79, 354.45°) |
| OKLab | oklab(58.03% 0.1447 -0.0116) |
| OKLCH | oklch(58.03% 0.145 355.4) |
| XYZ | xyz(26.8855, 17.6855, 21.7323) |
| Luminance | 0.1768 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.28
Dark Pink
#CB416B
ΔE00 6.34
Light Plum
#9D5783
ΔE00 6.85
Deep Rose
#C74767
ΔE00 7.22
Mediumvioletred
#C71585
ΔE00 8.44
Dark Rose
#B5485D
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA507E #50BA8C
analogous
#BA50B3 #BA507E #BA5750
triadic
#BA507E #7EBA50 #507EBA
tetradic
#BA507E #B3BA50 #50BA8C #5750BA
square
#BA507E #B3BA50 #50BA8C #5750BA
split-complementary
#BA507E #50BA57 #50B3BA
monochromatic
#672944 #933A61 #BA507E #CB7C9E #DDA8BF
Accessibility & contrast
On white
4.63
#BA507E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#BA507E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA507E
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA507E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA507E | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60697F
Deuteranopia (green-blind)
#7C7C7B
Tritanopia (blue-blind)
#C74962
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba507e; /* rgb */ color: rgb(186, 80, 126); /* oklch */ color: oklch(58.0% 0.145 355.4);
Tailwind
colors: {
custom: {
50: '#d286a3',
500: '#ba507e',
950: '#000000',
},
}SCSS
$custom: #ba507e; $custom-light: #d286a3; $custom-dark: #000000;
JSON
{
"hex": "#ba507e",
"rgb": {
"r": 186,
"g": 80,
"b": 126
},
"hsl": {
"h": 333.962,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.58026,
"c": 0.14512,
"h": 355.4
},
"luminance": 0.17683
}Semantic roles & 50–950 ramp
primary
#BA507E
secondary
#9CCAB6
accent
#D39C55
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140B0F
muted
#837C7F