#BA3B86#BA3B86
#BA3B86 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.8% C 0.179 H 348.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3B86 |
|---|---|
| RGB | rgb(186, 59, 134) |
| HSL | hsl(325, 52%, 48%) |
| HSV | hsv(325, 68%, 73%) |
| CMYK | cmyk(0%, 68.3%, 28%, 27.1%) |
| CIE-LAB | lab(46.03, 57.69, -14.07) |
| CIE-LCH | lch(46.03, 59.39, 346.29°) |
| OKLab | oklab(55.84% 0.1752 -0.037) |
| OKLCH | oklch(55.84% 0.179 348.1) |
| XYZ | xyz(26.1179, 15.2910, 24.1256) |
| Luminance | 0.1529 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.62
Magenta (survey)
#C20078
ΔE00 5.15
Light Plum
#9D5783
ΔE00 7.41
Ugly Purple
#A442A0
ΔE00 8.29
Purpleish
#98568D
ΔE00 8.34
Purplish
#94568C
ΔE00 9.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3B86 #3BBA6F
analogous
#AE3BBA #BA3B86 #BA3B46
triadic
#BA3B86 #86BA3B #3B86BA
tetradic
#BA3B86 #BAAE3B #3BBA6F #3B46BA
square
#BA3B86 #BAAE3B #3BBA6F #3B46BA
split-complementary
#BA3B86 #46BA3B #3BBAAE
monochromatic
#5D1E43 #8C2C65 #BA3B86 #CE64A3 #DD93BE
Accessibility & contrast
On white
5.18
#BA3B86 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#BA3B86 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3B86
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3B86 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5F88
Deuteranopia (green-blind)
#717583
Tritanopia (blue-blind)
#C7365B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba3b86; /* rgb */ color: rgb(186, 59, 134); /* oklch */ color: oklch(55.8% 0.179 348.1);
Tailwind
colors: {
custom: {
50: '#d37aa9',
500: '#ba3b86',
950: '#000000',
},
}SCSS
$custom: #ba3b86; $custom-light: #d37aa9; $custom-dark: #000000;
JSON
{
"hex": "#ba3b86",
"rgb": {
"r": 186,
"g": 59,
"b": 134
},
"hsl": {
"h": 324.567,
"s": 51.837,
"l": 48.039
},
"oklch": {
"l": 0.55836,
"c": 0.17908,
"h": 348.1
},
"luminance": 0.15288
}Semantic roles & 50–950 ramp
primary
#BA3B86
secondary
#89C8A3
accent
#DB874D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F