#BA4971#BA4971
#BA4971 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.150 H 1.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4971 |
|---|---|
| RGB | rgb(186, 73, 113) |
| HSL | hsl(339, 45%, 51%) |
| HSV | hsv(339, 61%, 73%) |
| CMYK | cmyk(0%, 60.8%, 39.2%, 27.1%) |
| CIE-LAB | lab(47.49, 49.28, 0.87) |
| CIE-LCH | lch(47.49, 49.29, 1.01°) |
| OKLab | oklab(56.69% 0.1504 0.0029) |
| OKLCH | oklch(56.69% 0.15 1.1) |
| XYZ | xyz(25.6145, 16.3993, 17.4360) |
| Luminance | 0.1640 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 3.97
Deep Rose
#C74767
ΔE00 4.68
Dark Rose
#B5485D
ΔE00 5.72
Light Burgundy
#A8415B
ΔE00 5.93
Darkish Pink
#DA467D
ΔE00 6.30
Deep Pink
#CB0162
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4971 #49BA92
analogous
#BA49A9 #BA4971 #BA5949
triadic
#BA4971 #71BA49 #4971BA
tetradic
#BA4971 #A9BA49 #49BA92 #5949BA
square
#BA4971 #A9BA49 #49BA92 #5949BA
split-complementary
#BA4971 #49BA59 #49A9BA
monochromatic
#63263B #8F3656 #BA4971 #CB7594 #DCA2B6
Accessibility & contrast
On white
4.91
#BA4971 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#BA4971 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4971
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4971 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4971 | 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)
#5E6372
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#C93E58
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba4971; /* rgb */ color: rgb(186, 73, 113); /* oklch */ color: oklch(56.7% 0.150 1.1);
Tailwind
colors: {
custom: {
50: '#d38199',
500: '#ba4971',
950: '#000000',
},
}SCSS
$custom: #ba4971; $custom-light: #d38199; $custom-dark: #000000;
JSON
{
"hex": "#ba4971",
"rgb": {
"r": 186,
"g": 73,
"b": 113
},
"hsl": {
"h": 338.761,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.5669,
"c": 0.15044,
"h": 1.1
},
"luminance": 0.16396
}Semantic roles & 50–950 ramp
primary
#BA4971
secondary
#96C8B7
accent
#D5A753
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E