#BA386A#BA386A
#BA386A is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.5% C 0.171 H 1.1°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #BA386A |
|---|---|
| RGB | rgb(186, 56, 106) |
| HSL | hsl(337, 54%, 47%) |
| HSV | hsv(337, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 43%, 27.1%) |
| CIE-LAB | lab(44.68, 55.66, 1.05) |
| CIE-LCH | lch(44.68, 55.67, 1.08°) |
| OKLab | oklab(54.53% 0.1705 0.0034) |
| OKLCH | oklch(54.53% 0.171 1.1) |
| XYZ | xyz(24.2672, 14.3111, 15.1173) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.36
Dark Pink
#CB416B
ΔE00 5.03
Light Burgundy
#A8415B
ΔE00 5.13
Dark Hot Pink
#D90166
ΔE00 5.63
Deep Rose
#C74767
ΔE00 6.04
Dark Rose
#B5485D
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA386A #38BA88
analogous
#BA38AB #BA386A #BA4738
triadic
#BA386A #6ABA38 #386ABA
tetradic
#BA386A #ABBA38 #38BA88 #4738BA
square
#BA386A #ABBA38 #38BA88 #4738BA
split-complementary
#BA386A #38BA47 #38ABBA
monochromatic
#5C1C34 #8B2A4F #BA386A #CF608B #DD8FAD
Accessibility & contrast
On white
5.44
#BA386A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#BA386A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA386A
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA386A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA386A | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535A6B
Deuteranopia (green-blind)
#767367
Tritanopia (blue-blind)
#CA264D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba386a; /* rgb */ color: rgb(186, 56, 106); /* oklch */ color: oklch(54.5% 0.171 1.1);
Tailwind
colors: {
custom: {
50: '#d47894',
500: '#ba386a',
950: '#000000',
},
}SCSS
$custom: #ba386a; $custom-light: #d47894; $custom-dark: #000000;
JSON
{
"hex": "#ba386a",
"rgb": {
"r": 186,
"g": 56,
"b": 106
},
"hsl": {
"h": 336.923,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.54531,
"c": 0.17052,
"h": 1.1
},
"luminance": 0.14308
}Semantic roles & 50–950 ramp
primary
#BA386A
secondary
#86C8AF
accent
#DDA54B
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E