#BA3B8B#BA3B8B
#BA3B8B is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.0% C 0.182 H 345.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3B8B |
|---|---|
| RGB | rgb(186, 59, 139) |
| HSL | hsl(322, 52%, 48%) |
| HSV | hsv(322, 68%, 73%) |
| CMYK | cmyk(0%, 68.3%, 25.3%, 27.1%) |
| CIE-LAB | lab(46.22, 58.34, -16.81) |
| CIE-LCH | lch(46.22, 60.71, 343.93°) |
| OKLab | oklab(56.04% 0.1764 -0.0445) |
| OKLCH | oklch(56.04% 0.182 345.8) |
| XYZ | xyz(26.4749, 15.4338, 26.0058) |
| Luminance | 0.1543 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.79
Magenta (survey)
#C20078
ΔE00 5.69
Ugly Purple
#A442A0
ΔE00 7.31
Light Plum
#9D5783
ΔE00 7.54
Purpleish
#98568D
ΔE00 7.99
Purpley Pink
#C83CB9
ΔE00 8.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3B8B #3BBA6A
analogous
#AA3BBA #BA3B8B #BA3B4B
triadic
#BA3B8B #8BBA3B #3B8BBA
tetradic
#BA3B8B #BAAA3B #3BBA6A #3B4BBA
square
#BA3B8B #BAAA3B #3BBA6A #3B4BBA
split-complementary
#BA3B8B #4BBA3B #3BBAAA
monochromatic
#5D1E46 #8C2C68 #BA3B8B #CE64A7 #DD93C1
Accessibility & contrast
On white
5.14
#BA3B8B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#BA3B8B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3B8B
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3B8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3B8B | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A608D
Deuteranopia (green-blind)
#6F7588
Tritanopia (blue-blind)
#C6395E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #ba3b8b; /* rgb */ color: rgb(186, 59, 139); /* oklch */ color: oklch(56.0% 0.182 345.8);
Tailwind
colors: {
custom: {
50: '#d37aad',
500: '#ba3b8b',
950: '#000000',
},
}SCSS
$custom: #ba3b8b; $custom-light: #d37aad; $custom-dark: #000000;
JSON
{
"hex": "#ba3b8b",
"rgb": {
"r": 186,
"g": 59,
"b": 139
},
"hsl": {
"h": 322.205,
"s": 51.837,
"l": 48.039
},
"oklch": {
"l": 0.56041,
"c": 0.18195,
"h": 345.8
},
"luminance": 0.15431
}Semantic roles & 50–950 ramp
primary
#BA3B8B
secondary
#89C8A0
accent
#DB814D
background
#FDF7FA
surface
#FAEEF4
border
#D3C9CE
text
#150A10
muted
#837C7F