#BA4777#BA4777
#BA4777 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.155 H 357.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4777 |
|---|---|
| RGB | rgb(186, 71, 119) |
| HSL | hsl(335, 45%, 50%) |
| HSV | hsv(335, 62%, 73%) |
| CMYK | cmyk(0%, 61.8%, 36%, 27.1%) |
| CIE-LAB | lab(47.34, 50.87, -3.01) |
| CIE-LCH | lch(47.34, 50.95, 356.62°) |
| OKLab | oklab(56.63% 0.1553 -0.0072) |
| OKLCH | oklch(56.63% 0.155 357.3) |
| XYZ | xyz(25.8342, 16.2803, 19.2311) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.38
Deep Rose
#C74767
ΔE00 6.44
Darkish Pink
#DA467D
ΔE00 6.58
Light Burgundy
#A8415B
ΔE00 7.20
Deep Pink
#CB0162
ΔE00 7.32
Mediumvioletred
#C71585
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4777 #47BA8A
analogous
#BA47B0 #BA4777 #BA5047
triadic
#BA4777 #77BA47 #4777BA
tetradic
#BA4777 #B0BA47 #47BA8A #5047BA
square
#BA4777 #B0BA47 #47BA8A #5047BA
split-complementary
#BA4777 #47BA50 #47B0BA
monochromatic
#62253E #8E355B #BA4777 #CB7498 #DBA0B9
Accessibility & contrast
On white
4.93
#BA4777 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#BA4777 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4777
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4777 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4777 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6378
Deuteranopia (green-blind)
#797874
Tritanopia (blue-blind)
#C83D5A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ba4777; /* rgb */ color: rgb(186, 71, 119); /* oklch */ color: oklch(56.6% 0.155 357.3);
Tailwind
colors: {
custom: {
50: '#d3809e',
500: '#ba4777',
950: '#000000',
},
}SCSS
$custom: #ba4777; $custom-light: #d3809e; $custom-dark: #000000;
JSON
{
"hex": "#ba4777",
"rgb": {
"r": 186,
"g": 71,
"b": 119
},
"hsl": {
"h": 334.957,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.56634,
"c": 0.15545,
"h": 357.3
},
"luminance": 0.16277
}Semantic roles & 50–950 ramp
primary
#BA4777
secondary
#95C8B3
accent
#D59F53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E