#BA396B#BA396B
#BA396B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.170 H 0.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #BA396B |
|---|---|
| RGB | rgb(186, 57, 107) |
| HSL | hsl(337, 53%, 48%) |
| HSV | hsv(337, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 42.5%, 27.1%) |
| CIE-LAB | lab(44.84, 55.38, 0.68) |
| CIE-LCH | lch(44.84, 55.39, 0.70°) |
| OKLab | oklab(54.67% 0.1696 0.0024) |
| OKLCH | oklch(54.67% 0.17 0.8) |
| XYZ | xyz(24.3684, 14.4299, 15.4091) |
| Luminance | 0.1443 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Pink
#CB0162
ΔE00 4.54
Dark Pink
#CB416B
ΔE00 5.02
Light Burgundy
#A8415B
ΔE00 5.25
Dark Hot Pink
#D90166
ΔE00 5.72
Deep Rose
#C74767
ΔE00 6.05
Dark Rose
#B5485D
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA396B #39BA88
analogous
#BA39AB #BA396B #BA4739
triadic
#BA396B #6BBA39 #396BBA
tetradic
#BA396B #ABBA39 #39BA88 #4739BA
square
#BA396B #ABBA39 #39BA88 #4739BA
split-complementary
#BA396B #39BA47 #39ABBA
monochromatic
#5C1C35 #8B2B50 #BA396B #CF618C #DD90AE
Accessibility & contrast
On white
5.40
#BA396B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#BA396B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA396B
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA396B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA396B | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#545A6C
Deuteranopia (green-blind)
#767368
Tritanopia (blue-blind)
#C9284E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #ba396b; /* rgb */ color: rgb(186, 57, 107); /* oklch */ color: oklch(54.7% 0.170 0.8);
Tailwind
colors: {
custom: {
50: '#d47995',
500: '#ba396b',
950: '#000000',
},
}SCSS
$custom: #ba396b; $custom-light: #d47995; $custom-dark: #000000;
JSON
{
"hex": "#ba396b",
"rgb": {
"r": 186,
"g": 57,
"b": 107
},
"hsl": {
"h": 336.744,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.54665,
"c": 0.16964,
"h": 0.8
},
"luminance": 0.14427
}Semantic roles & 50–950 ramp
primary
#BA396B
secondary
#87C8AF
accent
#DCA44B
background
#FDF7F9
surface
#FBEEF1
border
#D4C9CB
text
#150A0D
muted
#837C7E