#BA5181#BA5181
#BA5181 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.3% C 0.145 H 353.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5181 |
|---|---|
| RGB | rgb(186, 81, 129) |
| HSL | hsl(333, 43%, 52%) |
| HSV | hsv(333, 56%, 73%) |
| CMYK | cmyk(0%, 56.5%, 30.6%, 27.1%) |
| CIE-LAB | lab(49.39, 47.47, -6.01) |
| CIE-LCH | lch(49.39, 47.85, 352.78°) |
| OKLab | oklab(58.26% 0.1442 -0.0153) |
| OKLCH | oklch(58.26% 0.145 353.9) |
| XYZ | xyz(27.1558, 17.9116, 22.7917) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.52
Darkish Pink
#DA467D
ΔE00 6.53
Dark Pink
#CB416B
ΔE00 6.98
Deep Rose
#C74767
ΔE00 7.90
Mediumvioletred
#C71585
ΔE00 8.34
Purpleish
#98568D
ΔE00 9.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5181 #51BA8A
analogous
#BA51B6 #BA5181 #BA5551
triadic
#BA5181 #81BA51 #5181BA
tetradic
#BA5181 #B6BA51 #51BA8A #5551BA
square
#BA5181 #B6BA51 #51BA8A #5551BA
split-complementary
#BA5181 #51BA55 #51B6BA
monochromatic
#682946 #933A63 #BA5181 #CB7DA1 #DDA9C0
Accessibility & contrast
On white
4.58
#BA5181 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#BA5181 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5181
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5181 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5181 | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606A82
Deuteranopia (green-blind)
#7C7C7E
Tritanopia (blue-blind)
#C74B63
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba5181; /* rgb */ color: rgb(186, 81, 129); /* oklch */ color: oklch(58.3% 0.145 353.9);
Tailwind
colors: {
custom: {
50: '#d286a5',
500: '#ba5181',
950: '#000000',
},
}SCSS
$custom: #ba5181; $custom-light: #d286a5; $custom-dark: #000000;
JSON
{
"hex": "#ba5181",
"rgb": {
"r": 186,
"g": 81,
"b": 129
},
"hsl": {
"h": 332.571,
"s": 43.21,
"l": 52.353
},
"oklch": {
"l": 0.58264,
"c": 0.14496,
"h": 353.9
},
"luminance": 0.17909
}Semantic roles & 50–950 ramp
primary
#BA5181
secondary
#9DCAB5
accent
#D39955
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B0F
muted
#837C7F