#BA4976#BA4976
#BA4976 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.9% C 0.152 H 358.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4976 |
|---|---|
| RGB | rgb(186, 73, 118) |
| HSL | hsl(336, 45%, 51%) |
| HSV | hsv(336, 61%, 73%) |
| CMYK | cmyk(0%, 60.8%, 36.6%, 27.1%) |
| CIE-LAB | lab(47.64, 49.85, -1.95) |
| CIE-LCH | lch(47.64, 49.89, 357.76°) |
| OKLab | oklab(56.85% 0.1521 -0.0045) |
| OKLCH | oklch(56.85% 0.152 358.3) |
| XYZ | xyz(25.9037, 16.5150, 18.9596) |
| Luminance | 0.1651 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.97
Deep Rose
#C74767
ΔE00 5.93
Darkish Pink
#DA467D
ΔE00 6.33
Light Burgundy
#A8415B
ΔE00 6.96
Dark Rose
#B5485D
ΔE00 7.12
Deep Pink
#CB0162
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4976 #49BA8D
analogous
#BA49AE #BA4976 #BA5449
triadic
#BA4976 #76BA49 #4976BA
tetradic
#BA4976 #AEBA49 #49BA8D #5449BA
square
#BA4976 #AEBA49 #49BA8D #5449BA
split-complementary
#BA4976 #49BA54 #49AEBA
monochromatic
#63263E #8F365A #BA4976 #CB7597 #DCA2B9
Accessibility & contrast
On white
4.88
#BA4976 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#BA4976 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4976
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4976 | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C6477
Deuteranopia (green-blind)
#7B7973
Tritanopia (blue-blind)
#C83F5B
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba4976; /* rgb */ color: rgb(186, 73, 118); /* oklch */ color: oklch(56.9% 0.152 358.3);
Tailwind
colors: {
custom: {
50: '#d3819d',
500: '#ba4976',
950: '#000000',
},
}SCSS
$custom: #ba4976; $custom-light: #d3819d; $custom-dark: #000000;
JSON
{
"hex": "#ba4976",
"rgb": {
"r": 186,
"g": 73,
"b": 118
},
"hsl": {
"h": 336.106,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.5685,
"c": 0.1522,
"h": 358.3
},
"luminance": 0.16512
}Semantic roles & 50–950 ramp
primary
#BA4976
secondary
#96C8B5
accent
#D5A153
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E