#BA3A86#BA3A86
#BA3A86 is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.7% C 0.180 H 348.0°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3A86 |
|---|---|
| RGB | rgb(186, 58, 134) |
| HSL | hsl(324, 52%, 48%) |
| HSV | hsv(324, 69%, 73%) |
| CMYK | cmyk(0%, 68.8%, 28%, 27.1%) |
| CIE-LAB | lab(45.89, 58.08, -14.28) |
| CIE-LCH | lch(45.89, 59.81, 346.18°) |
| OKLab | oklab(55.74% 0.1764 -0.0376) |
| OKLCH | oklch(55.74% 0.18 348) |
| XYZ | xyz(26.0670, 15.1892, 24.1087) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.49
Magenta (survey)
#C20078
ΔE00 5.02
Light Plum
#9D5783
ΔE00 7.52
Ugly Purple
#A442A0
ΔE00 8.23
Purpleish
#98568D
ΔE00 8.40
Purplish
#94568C
ΔE00 9.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3A86 #3ABA6E
analogous
#AE3ABA #BA3A86 #BA3A46
triadic
#BA3A86 #86BA3A #3A86BA
tetradic
#BA3A86 #BAAE3A #3ABA6E #3A46BA
square
#BA3A86 #BAAE3A #3ABA6E #3A46BA
split-complementary
#BA3A86 #46BA3A #3ABAAE
monochromatic
#5D1D43 #8B2B64 #BA3A86 #CE63A3 #DD92BE
Accessibility & contrast
On white
5.20
#BA3A86 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#BA3A86 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3A86
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3A86 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B5E88
Deuteranopia (green-blind)
#707583
Tritanopia (blue-blind)
#C7355B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba3a86; /* rgb */ color: rgb(186, 58, 134); /* oklch */ color: oklch(55.7% 0.180 348.0);
Tailwind
colors: {
custom: {
50: '#d37aa9',
500: '#ba3a86',
950: '#000000',
},
}SCSS
$custom: #ba3a86; $custom-light: #d37aa9; $custom-dark: #000000;
JSON
{
"hex": "#ba3a86",
"rgb": {
"r": 186,
"g": 58,
"b": 134
},
"hsl": {
"h": 324.375,
"s": 52.459,
"l": 47.843
},
"oklch": {
"l": 0.55735,
"c": 0.18036,
"h": 348
},
"luminance": 0.15186
}Semantic roles & 50–950 ramp
primary
#BA3A86
secondary
#88C8A2
accent
#DC864C
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A0F
muted
#837C7F