#BA4E71#BA4E71
#BA4E71 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.3% C 0.143 H 2.4°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E71 |
|---|---|
| RGB | rgb(186, 78, 113) |
| HSL | hsl(341, 44%, 52%) |
| HSV | hsv(341, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 39.2%, 27.1%) |
| CIE-LAB | lab(48.36, 46.96, 2.13) |
| CIE-LCH | lch(48.36, 47.01, 2.60°) |
| OKLab | oklab(57.34% 0.1431 0.0061) |
| OKLCH | oklch(57.34% 0.143 2.4) |
| XYZ | xyz(25.9563, 17.0829, 17.5500) |
| Luminance | 0.1708 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.82
Deep Rose
#C74767
ΔE00 4.11
Dark Rose
#B5485D
ΔE00 5.28
Darkish Pink
#DA467D
ΔE00 6.08
Light Burgundy
#A8415B
ΔE00 6.19
Light Maroon
#A24857
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E71 #4EBA97
analogous
#BA4EA7 #BA4E71 #BA614E
triadic
#BA4E71 #71BA4E #4E71BA
tetradic
#BA4E71 #A7BA4E #4EBA97 #614EBA
square
#BA4E71 #A7BA4E #4EBA97 #614EBA
split-complementary
#BA4E71 #4EBA61 #4EA7BA
monochromatic
#66283C #923956 #BA4E71 #CB7A94 #DCA6B8
Accessibility & contrast
On white
4.76
#BA4E71 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#BA4E71 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E71
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E71 | 1.00 | 4.76 | 4.42 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626672
Deuteranopia (green-blind)
#7E7B6F
Tritanopia (blue-blind)
#C9435B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba4e71; /* rgb */ color: rgb(186, 78, 113); /* oklch */ color: oklch(57.3% 0.143 2.4);
Tailwind
colors: {
custom: {
50: '#d38499',
500: '#ba4e71',
950: '#000000',
},
}SCSS
$custom: #ba4e71; $custom-light: #d38499; $custom-dark: #000000;
JSON
{
"hex": "#ba4e71",
"rgb": {
"r": 186,
"g": 78,
"b": 113
},
"hsl": {
"h": 340.556,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57339,
"c": 0.14327,
"h": 2.4
},
"luminance": 0.1708
}Semantic roles & 50–950 ramp
primary
#BA4E71
secondary
#9ACABA
accent
#D4AA54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E