#BA4978#BA4978
#BA4978 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 56.9% C 0.153 H 357.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4978 |
|---|---|
| RGB | rgb(186, 73, 120) |
| HSL | hsl(335, 45%, 51%) |
| HSV | hsv(335, 61%, 73%) |
| CMYK | cmyk(0%, 60.8%, 35.5%, 27.1%) |
| CIE-LAB | lab(47.70, 50.09, -3.08) |
| CIE-LCH | lch(47.70, 50.18, 356.49°) |
| OKLab | oklab(56.92% 0.1528 -0.0074) |
| OKLCH | oklch(56.92% 0.153 357.2) |
| XYZ | xyz(26.0238, 16.5630, 19.5921) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.41
Darkish Pink
#DA467D
ΔE00 6.43
Deep Rose
#C74767
ΔE00 6.43
Light Burgundy
#A8415B
ΔE00 7.40
Light Plum
#9D5783
ΔE00 7.55
Dark Rose
#B5485D
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4978 #49BA8B
analogous
#BA49B1 #BA4978 #BA5249
triadic
#BA4978 #78BA49 #4978BA
tetradic
#BA4978 #B1BA49 #49BA8B #5249BA
square
#BA4978 #B1BA49 #49BA8B #5249BA
split-complementary
#BA4978 #49BA52 #49B1BA
monochromatic
#63263F #8F365B #BA4978 #CB7599 #DCA2BA
Accessibility & contrast
On white
4.87
#BA4978 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#BA4978 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4978
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4978 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4978 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6479
Deuteranopia (green-blind)
#7A7975
Tritanopia (blue-blind)
#C8405B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba4978; /* rgb */ color: rgb(186, 73, 120); /* oklch */ color: oklch(56.9% 0.153 357.2);
Tailwind
colors: {
custom: {
50: '#d2819e',
500: '#ba4978',
950: '#000000',
},
}SCSS
$custom: #ba4978; $custom-light: #d2819e; $custom-dark: #000000;
JSON
{
"hex": "#ba4978",
"rgb": {
"r": 186,
"g": 73,
"b": 120
},
"hsl": {
"h": 335.044,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.56916,
"c": 0.15298,
"h": 357.2
},
"luminance": 0.1656
}Semantic roles & 50–950 ramp
primary
#BA4978
secondary
#96C8B4
accent
#D59F53
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E