#BA386B#BA386B
#BA386B is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.171 H 0.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #BA386B |
|---|---|
| RGB | rgb(186, 56, 107) |
| HSL | hsl(336, 54%, 47%) |
| HSV | hsv(336, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 42.5%, 27.1%) |
| CIE-LAB | lab(44.71, 55.76, 0.48) |
| CIE-LCH | lch(44.71, 55.77, 0.49°) |
| OKLab | oklab(54.56% 0.1708 0.0019) |
| OKLCH | oklch(54.56% 0.171 0.6) |
| XYZ | xyz(24.3195, 14.3320, 15.3928) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.45
Dark Pink
#CB416B
ΔE00 5.17
Light Burgundy
#A8415B
ΔE00 5.33
Dark Hot Pink
#D90166
ΔE00 5.72
Deep Rose
#C74767
ΔE00 6.22
Magenta (survey)
#C20078
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA386B #38BA87
analogous
#BA38AC #BA386B #BA4638
triadic
#BA386B #6BBA38 #386BBA
tetradic
#BA386B #ACBA38 #38BA87 #4638BA
square
#BA386B #ACBA38 #38BA87 #4638BA
split-complementary
#BA386B #38BA46 #38ACBA
monochromatic
#5C1C35 #8B2A50 #BA386B #CF608C #DD8FAE
Accessibility & contrast
On white
5.43
#BA386B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#BA386B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA386B
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA386B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA386B | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535A6C
Deuteranopia (green-blind)
#767368
Tritanopia (blue-blind)
#C9274D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba386b; /* rgb */ color: rgb(186, 56, 107); /* oklch */ color: oklch(54.6% 0.171 0.6);
Tailwind
colors: {
custom: {
50: '#d47895',
500: '#ba386b',
950: '#000000',
},
}SCSS
$custom: #ba386b; $custom-light: #d47895; $custom-dark: #000000;
JSON
{
"hex": "#ba386b",
"rgb": {
"r": 186,
"g": 56,
"b": 107
},
"hsl": {
"h": 336.462,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.54563,
"c": 0.17084,
"h": 0.6
},
"luminance": 0.14329
}Semantic roles & 50–950 ramp
primary
#BA386B
secondary
#86C8AE
accent
#DDA44B
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E