#BA4877#BA4877
#BA4877 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.8% C 0.154 H 357.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4877 |
|---|---|
| RGB | rgb(186, 72, 119) |
| HSL | hsl(335, 45%, 51%) |
| HSV | hsv(335, 61%, 73%) |
| CMYK | cmyk(0%, 61.3%, 36%, 27.1%) |
| CIE-LAB | lab(47.51, 50.42, -2.76) |
| CIE-LCH | lch(47.51, 50.49, 356.86°) |
| OKLab | oklab(56.76% 0.1539 -0.0066) |
| OKLCH | oklch(56.76% 0.154 357.5) |
| XYZ | xyz(25.8983, 16.4086, 19.2525) |
| Luminance | 0.1641 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.28
Deep Rose
#C74767
ΔE00 6.31
Darkish Pink
#DA467D
ΔE00 6.48
Light Burgundy
#A8415B
ΔE00 7.18
Deep Pink
#CB0162
ΔE00 7.45
Dark Rose
#B5485D
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4877 #48BA8B
analogous
#BA48B0 #BA4877 #BA5248
triadic
#BA4877 #77BA48 #4877BA
tetradic
#BA4877 #B0BA48 #48BA8B #5248BA
square
#BA4877 #B0BA48 #48BA8B #5248BA
split-complementary
#BA4877 #48BA52 #48B0BA
monochromatic
#62253E #8F365B #BA4877 #CB7498 #DCA1B9
Accessibility & contrast
On white
4.91
#BA4877 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#BA4877 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4877
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4877 | 1.00 | 4.91 | 4.28 | 4.91 |
| #FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B6378
Deuteranopia (green-blind)
#7A7974
Tritanopia (blue-blind)
#C83F5A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba4877; /* rgb */ color: rgb(186, 72, 119); /* oklch */ color: oklch(56.8% 0.154 357.5);
Tailwind
colors: {
custom: {
50: '#d3819e',
500: '#ba4877',
950: '#000000',
},
}SCSS
$custom: #ba4877; $custom-light: #d3819e; $custom-dark: #000000;
JSON
{
"hex": "#ba4877",
"rgb": {
"r": 186,
"g": 72,
"b": 119
},
"hsl": {
"h": 335.263,
"s": 45.238,
"l": 50.588
},
"oklch": {
"l": 0.56758,
"c": 0.15402,
"h": 357.5
},
"luminance": 0.16406
}Semantic roles & 50–950 ramp
primary
#BA4877
secondary
#96C8B3
accent
#D59F53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E