#BA387E#BA387E
#BA387E is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.179 H 351.4°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #BA387E |
|---|---|
| RGB | rgb(186, 56, 126) |
| HSL | hsl(328, 54%, 47%) |
| HSV | hsv(328, 70%, 73%) |
| CMYK | cmyk(0%, 69.9%, 32.3%, 27.1%) |
| CIE-LAB | lab(45.33, 57.85, -10.27) |
| CIE-LCH | lch(45.33, 58.75, 349.93°) |
| OKLab | oklab(55.22% 0.1767 -0.0266) |
| OKLCH | oklch(55.22% 0.179 351.4) |
| XYZ | xyz(25.4311, 14.7767, 21.2475) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 3.66
Magenta (survey)
#C20078
ΔE00 4.27
Deep Pink
#CB0162
ΔE00 7.66
Light Plum
#9D5783
ΔE00 7.86
Dark Pink
#CB416B
ΔE00 8.66
Dark Hot Pink
#D90166
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA387E #38BA74
analogous
#B538BA #BA387E #BA383D
triadic
#BA387E #7EBA38 #387EBA
tetradic
#BA387E #BAB538 #38BA74 #383DBA
square
#BA387E #BAB538 #38BA74 #383DBA
split-complementary
#BA387E #3DBA38 #38BAB5
monochromatic
#5C1C3E #8B2A5E #BA387E #CF609C #DD8FB9
Accessibility & contrast
On white
5.31
#BA387E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#BA387E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA387E
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA387E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA387E | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5C80
Deuteranopia (green-blind)
#72747B
Tritanopia (blue-blind)
#C83056
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #ba387e; /* rgb */ color: rgb(186, 56, 126); /* oklch */ color: oklch(55.2% 0.179 351.4);
Tailwind
colors: {
custom: {
50: '#d379a3',
500: '#ba387e',
950: '#000000',
},
}SCSS
$custom: #ba387e; $custom-light: #d379a3; $custom-dark: #000000;
JSON
{
"hex": "#ba387e",
"rgb": {
"r": 186,
"g": 56,
"b": 126
},
"hsl": {
"h": 327.692,
"s": 53.719,
"l": 47.451
},
"oklch": {
"l": 0.55224,
"c": 0.17869,
"h": 351.4
},
"luminance": 0.14774
}Semantic roles & 50–950 ramp
primary
#BA387E
secondary
#86C8A4
accent
#DD8E4B
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F