#BA4778#BA4778
#BA4778 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.7% C 0.156 H 356.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4778 |
|---|---|
| RGB | rgb(186, 71, 120) |
| HSL | hsl(334, 45%, 50%) |
| HSV | hsv(334, 62%, 73%) |
| CMYK | cmyk(0%, 61.8%, 35.5%, 27.1%) |
| CIE-LAB | lab(47.37, 50.98, -3.57) |
| CIE-LCH | lch(47.37, 51.11, 356.00°) |
| OKLab | oklab(56.67% 0.1556 -0.0087) |
| OKLCH | oklch(56.67% 0.156 356.8) |
| XYZ | xyz(25.8945, 16.3045, 19.5490) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.60
Darkish Pink
#DA467D
ΔE00 6.64
Deep Rose
#C74767
ΔE00 6.69
Mediumvioletred
#C71585
ΔE00 7.23
Light Burgundy
#A8415B
ΔE00 7.42
Deep Pink
#CB0162
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4778 #47BA89
analogous
#BA47B1 #BA4778 #BA4F47
triadic
#BA4778 #78BA47 #4778BA
tetradic
#BA4778 #B1BA47 #47BA89 #4F47BA
square
#BA4778 #B1BA47 #47BA89 #4F47BA
split-complementary
#BA4778 #47BA4F #47B1BA
monochromatic
#62253F #8E355B #BA4778 #CB7499 #DBA0B9
Accessibility & contrast
On white
4.93
#BA4778 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#BA4778 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4778
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4778 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4778 | 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)
#5A6379
Deuteranopia (green-blind)
#797875
Tritanopia (blue-blind)
#C83E5A
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ba4778; /* rgb */ color: rgb(186, 71, 120); /* oklch */ color: oklch(56.7% 0.156 356.8);
Tailwind
colors: {
custom: {
50: '#d3809e',
500: '#ba4778',
950: '#000000',
},
}SCSS
$custom: #ba4778; $custom-light: #d3809e; $custom-dark: #000000;
JSON
{
"hex": "#ba4778",
"rgb": {
"r": 186,
"g": 71,
"b": 120
},
"hsl": {
"h": 334.435,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.56668,
"c": 0.15585,
"h": 356.8
},
"luminance": 0.16302
}Semantic roles & 50–950 ramp
primary
#BA4778
secondary
#95C8B2
accent
#D59E53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E