#BA5078#BA5078
#BA5078 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.8% C 0.143 H 358.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5078 |
|---|---|
| RGB | rgb(186, 80, 120) |
| HSL | hsl(337, 43%, 52%) |
| HSV | hsv(337, 57%, 73%) |
| CMYK | cmyk(0%, 57%, 35.5%, 27.1%) |
| CIE-LAB | lab(48.93, 46.82, -1.28) |
| CIE-LCH | lch(48.93, 46.84, 358.44°) |
| OKLab | oklab(57.83% 0.1426 -0.0027) |
| OKLCH | oklch(57.83% 0.143 358.9) |
| XYZ | xyz(26.5099, 17.5352, 19.7542) |
| Luminance | 0.1753 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.04
Deep Rose
#C74767
ΔE00 5.69
Darkish Pink
#DA467D
ΔE00 5.90
Dark Rose
#B5485D
ΔE00 7.10
Light Burgundy
#A8415B
ΔE00 7.56
Light Plum
#9D5783
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5078 #50BA92
analogous
#BA50AD #BA5078 #BA5D50
triadic
#BA5078 #78BA50 #5078BA
tetradic
#BA5078 #ADBA50 #50BA92 #5D50BA
square
#BA5078 #ADBA50 #50BA92 #5D50BA
split-complementary
#BA5078 #50BA5D #50ADBA
monochromatic
#672940 #933A5B #BA5078 #CB7C9A #DDA8BC
Accessibility & contrast
On white
4.66
#BA5078 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#BA5078 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA5078
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5078 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA5078 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#616879
Deuteranopia (green-blind)
#7D7C76
Tritanopia (blue-blind)
#C8475F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ba5078; /* rgb */ color: rgb(186, 80, 120); /* oklch */ color: oklch(57.8% 0.143 358.9);
Tailwind
colors: {
custom: {
50: '#d2859e',
500: '#ba5078',
950: '#000000',
},
}SCSS
$custom: #ba5078; $custom-light: #d2859e; $custom-dark: #000000;
JSON
{
"hex": "#ba5078",
"rgb": {
"r": 186,
"g": 80,
"b": 120
},
"hsl": {
"h": 337.358,
"s": 43.443,
"l": 52.157
},
"oklch": {
"l": 0.57827,
"c": 0.14267,
"h": 358.9
},
"luminance": 0.17532
}Semantic roles & 50–950 ramp
primary
#BA5078
secondary
#9CCAB9
accent
#D3A355
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#150B0E
muted
#837C7E