#BA396E#BA396E
#BA396E is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.8% C 0.171 H 359.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #BA396E |
|---|---|
| RGB | rgb(186, 57, 110) |
| HSL | hsl(335, 53%, 48%) |
| HSV | hsv(335, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 40.9%, 27.1%) |
| CIE-LAB | lab(44.93, 55.69, -1.04) |
| CIE-LCH | lch(44.93, 55.70, 358.93°) |
| OKLab | oklab(54.76% 0.1706 -0.002) |
| OKLCH | oklch(54.76% 0.171 359.3) |
| XYZ | xyz(24.5290, 14.4941, 16.2548) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.86
Dark Pink
#CB416B
ΔE00 5.47
Light Burgundy
#A8415B
ΔE00 5.89
Magenta (survey)
#C20078
ΔE00 5.90
Dark Hot Pink
#D90166
ΔE00 6.04
Deep Rose
#C74767
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA396E #39BA85
analogous
#BA39AE #BA396E #BA4539
triadic
#BA396E #6EBA39 #396EBA
tetradic
#BA396E #AEBA39 #39BA85 #4539BA
square
#BA396E #AEBA39 #39BA85 #4539BA
split-complementary
#BA396E #39BA45 #39AEBA
monochromatic
#5C1C37 #8B2B52 #BA396E #CF618E #DD90B0
Accessibility & contrast
On white
5.39
#BA396E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#BA396E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA396E
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA396E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA396E | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#535B6F
Deuteranopia (green-blind)
#76736B
Tritanopia (blue-blind)
#C9294F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba396e; /* rgb */ color: rgb(186, 57, 110); /* oklch */ color: oklch(54.8% 0.171 359.3);
Tailwind
colors: {
custom: {
50: '#d47997',
500: '#ba396e',
950: '#000000',
},
}SCSS
$custom: #ba396e; $custom-light: #d47997; $custom-dark: #000000;
JSON
{
"hex": "#ba396e",
"rgb": {
"r": 186,
"g": 57,
"b": 110
},
"hsl": {
"h": 335.349,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.54761,
"c": 0.17064,
"h": 359.3
},
"luminance": 0.14491
}Semantic roles & 50–950 ramp
primary
#BA396E
secondary
#87C8AD
accent
#DCA14B
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0D
muted
#837C7E