#BA5182#BA5182
#BA5182 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.3% C 0.145 H 353.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5182 |
|---|---|
| RGB | rgb(186, 81, 130) |
| HSL | hsl(332, 43%, 52%) |
| HSV | hsv(332, 56%, 73%) |
| CMYK | cmyk(0%, 56.5%, 30.1%, 27.1%) |
| CIE-LAB | lab(49.42, 47.60, -6.56) |
| CIE-LCH | lch(49.42, 48.05, 352.15°) |
| OKLab | oklab(58.3% 0.1445 -0.0168) |
| OKLCH | oklch(58.3% 0.145 353.4) |
| XYZ | xyz(27.2226, 17.9383, 23.1435) |
| Luminance | 0.1794 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.41
Darkish Pink
#DA467D
ΔE00 6.66
Dark Pink
#CB416B
ΔE00 7.21
Deep Rose
#C74767
ΔE00 8.15
Mediumvioletred
#C71585
ΔE00 8.24
Purpleish
#98568D
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5182 #51BA89
analogous
#BA51B7 #BA5182 #BA5551
triadic
#BA5182 #82BA51 #5182BA
tetradic
#BA5182 #B7BA51 #51BA89 #5551BA
square
#BA5182 #B7BA51 #51BA89 #5551BA
split-complementary
#BA5182 #51BA55 #51B7BA
monochromatic
#682946 #933A64 #BA5182 #CB7DA1 #DDA9C1
Accessibility & contrast
On white
4.58
#BA5182 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#BA5182 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5182
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5182 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5182 | 1.00 | 4.58 | 4.59 | 4.59 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F6A84
Deuteranopia (green-blind)
#7C7D7F
Tritanopia (blue-blind)
#C74B64
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba5182; /* rgb */ color: rgb(186, 81, 130); /* oklch */ color: oklch(58.3% 0.145 353.4);
Tailwind
colors: {
custom: {
50: '#d286a6',
500: '#ba5182',
950: '#000000',
},
}SCSS
$custom: #ba5182; $custom-light: #d286a6; $custom-dark: #000000;
JSON
{
"hex": "#ba5182",
"rgb": {
"r": 186,
"g": 81,
"b": 130
},
"hsl": {
"h": 332,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.58299,
"c": 0.14544,
"h": 353.4
},
"luminance": 0.17936
}Semantic roles & 50–950 ramp
primary
#BA5182
secondary
#9DCAB5
accent
#D39855
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F