#BA395B#BA395B
#BA395B is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.2% C 0.166 H 8.9°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #BA395B |
|---|---|
| RGB | rgb(186, 57, 91) |
| HSL | hsl(344, 53%, 48%) |
| HSV | hsv(344, 69%, 73%) |
| CMYK | cmyk(0%, 69.4%, 51.1%, 27.1%) |
| CIE-LAB | lab(44.41, 53.89, 9.95) |
| CIE-LCH | lch(44.41, 54.80, 10.46°) |
| OKLab | oklab(54.2% 0.1638 0.0256) |
| OKLCH | oklch(54.2% 0.166 8.9) |
| XYZ | xyz(23.6032, 14.1238, 11.3788) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Rose
#B5485D
ΔE00 3.03
Light Burgundy
#A8415B
ΔE00 3.51
Deep Rose
#C74767
ΔE00 4.51
Dark Pink
#CB416B
ΔE00 4.81
Light Maroon
#A24857
ΔE00 5.24
Deep Pink
#CB0162
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA395B #39BA98
analogous
#BA399B #BA395B #BA5839
triadic
#BA395B #5BBA39 #395BBA
tetradic
#BA395B #9BBA39 #39BA98 #5839BA
square
#BA395B #9BBA39 #39BA98 #5839BA
split-complementary
#BA395B #39BA58 #399BBA
monochromatic
#5C1C2D #8B2B44 #BA395B #CF617E #DD90A5
Accessibility & contrast
On white
5.49
#BA395B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#BA395B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA395B
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA395B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA395B | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#57595C
Deuteranopia (green-blind)
#797358
Tritanopia (blue-blind)
#CB2147
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #ba395b; /* rgb */ color: rgb(186, 57, 91); /* oklch */ color: oklch(54.2% 0.166 8.9);
Tailwind
colors: {
custom: {
50: '#d47889',
500: '#ba395b',
950: '#000000',
},
}SCSS
$custom: #ba395b; $custom-light: #d47889; $custom-dark: #000000;
JSON
{
"hex": "#ba395b",
"rgb": {
"r": 186,
"g": 57,
"b": 91
},
"hsl": {
"h": 344.186,
"s": 53.086,
"l": 47.647
},
"oklch": {
"l": 0.54202,
"c": 0.16578,
"h": 8.9
},
"luminance": 0.14121
}Semantic roles & 50–950 ramp
primary
#BA395B
secondary
#87C8B7
accent
#DCB64B
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0B
muted
#837C7C