#BA4E78#BA4E78
#BA4E78 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.6% C 0.146 H 358.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E78 |
|---|---|
| RGB | rgb(186, 78, 120) |
| HSL | hsl(337, 44%, 52%) |
| HSV | hsv(337, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 35.5%, 27.1%) |
| CIE-LAB | lab(48.57, 47.77, -1.80) |
| CIE-LCH | lch(48.57, 47.81, 357.84°) |
| OKLab | oklab(57.56% 0.1456 -0.0041) |
| OKLCH | oklch(57.56% 0.146 358.4) |
| XYZ | xyz(26.3657, 17.2467, 19.7061) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.09
Deep Rose
#C74767
ΔE00 5.86
Darkish Pink
#DA467D
ΔE00 6.01
Dark Rose
#B5485D
ΔE00 7.23
Light Burgundy
#A8415B
ΔE00 7.47
Light Plum
#9D5783
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E78 #4EBA90
analogous
#BA4EAE #BA4E78 #BA5A4E
triadic
#BA4E78 #78BA4E #4E78BA
tetradic
#BA4E78 #AEBA4E #4EBA90 #5A4EBA
square
#BA4E78 #AEBA4E #4EBA90 #5A4EBA
split-complementary
#BA4E78 #4EBA5A #4EAEBA
monochromatic
#662840 #92395C #BA4E78 #CB7A9A #DCA6BB
Accessibility & contrast
On white
4.72
#BA4E78 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#BA4E78 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E78
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E78 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E78 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#606779
Deuteranopia (green-blind)
#7C7B75
Tritanopia (blue-blind)
#C8455E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba4e78; /* rgb */ color: rgb(186, 78, 120); /* oklch */ color: oklch(57.6% 0.146 358.4);
Tailwind
colors: {
custom: {
50: '#d2849e',
500: '#ba4e78',
950: '#000000',
},
}SCSS
$custom: #ba4e78; $custom-light: #d2849e; $custom-dark: #000000;
JSON
{
"hex": "#ba4e78",
"rgb": {
"r": 186,
"g": 78,
"b": 120
},
"hsl": {
"h": 336.667,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.5756,
"c": 0.14565,
"h": 358.4
},
"luminance": 0.17244
}Semantic roles & 50–950 ramp
primary
#BA4E78
secondary
#9ACAB7
accent
#D4A254
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E