#BA517E#BA517E
#BA517E is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.2% C 0.144 H 355.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BA517E |
|---|---|
| RGB | rgb(186, 81, 126) |
| HSL | hsl(334, 43%, 52%) |
| HSV | hsv(334, 56%, 73%) |
| CMYK | cmyk(0%, 56.5%, 32.3%, 27.1%) |
| CIE-LAB | lab(49.29, 47.08, -4.35) |
| CIE-LCH | lch(49.29, 47.28, 354.72°) |
| OKLab | oklab(58.16% 0.1432 -0.0109) |
| OKLCH | oklch(58.16% 0.144 355.7) |
| XYZ | xyz(26.9593, 17.8330, 21.7569) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.22
Dark Pink
#CB416B
ΔE00 6.31
Light Plum
#9D5783
ΔE00 6.90
Deep Rose
#C74767
ΔE00 7.15
Dark Rose
#B5485D
ΔE00 8.66
Mediumvioletred
#C71585
ΔE00 8.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA517E #51BA8D
analogous
#BA51B2 #BA517E #BA5951
triadic
#BA517E #7EBA51 #517EBA
tetradic
#BA517E #B2BA51 #51BA8D #5951BA
square
#BA517E #B2BA51 #51BA8D #5951BA
split-complementary
#BA517E #51BA59 #51B2BA
monochromatic
#682944 #933A61 #BA517E #CB7D9E #DDA9BF
Accessibility & contrast
On white
4.60
#BA517E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#BA517E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA517E
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA517E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA517E | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61697F
Deuteranopia (green-blind)
#7D7C7C
Tritanopia (blue-blind)
#C74A62
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba517e; /* rgb */ color: rgb(186, 81, 126); /* oklch */ color: oklch(58.2% 0.144 355.7);
Tailwind
colors: {
custom: {
50: '#d286a3',
500: '#ba517e',
950: '#000000',
},
}SCSS
$custom: #ba517e; $custom-light: #d286a3; $custom-dark: #000000;
JSON
{
"hex": "#ba517e",
"rgb": {
"r": 186,
"g": 81,
"b": 126
},
"hsl": {
"h": 334.286,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.58161,
"c": 0.14359,
"h": 355.7
},
"luminance": 0.1783
}Semantic roles & 50–950 ramp
primary
#BA517E
secondary
#9DCAB7
accent
#D39D55
background
#FDF8FA
surface
#FAF0F3
border
#D3CBCD
text
#140B0F
muted
#837C7F