#BA4972#BA4972
#BA4972 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 56.7% C 0.151 H 0.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4972 |
|---|---|
| RGB | rgb(186, 73, 114) |
| HSL | hsl(338, 45%, 51%) |
| HSV | hsv(338, 61%, 73%) |
| CMYK | cmyk(0%, 60.8%, 38.7%, 27.1%) |
| CIE-LAB | lab(47.52, 49.39, 0.30) |
| CIE-LCH | lch(47.52, 49.39, 0.35°) |
| OKLab | oklab(56.72% 0.1508 0.0014) |
| OKLCH | oklch(56.72% 0.151 0.5) |
| XYZ | xyz(25.6711, 16.4219, 17.7342) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.16
Deep Rose
#C74767
ΔE00 4.93
Dark Rose
#B5485D
ΔE00 6.00
Light Burgundy
#A8415B
ΔE00 6.13
Darkish Pink
#DA467D
ΔE00 6.28
Deep Pink
#CB0162
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4972 #49BA91
analogous
#BA49AA #BA4972 #BA5849
triadic
#BA4972 #72BA49 #4972BA
tetradic
#BA4972 #AABA49 #49BA91 #5849BA
square
#BA4972 #AABA49 #49BA91 #5849BA
split-complementary
#BA4972 #49BA58 #49AABA
monochromatic
#63263C #8F3657 #BA4972 #CB7594 #DCA2B7
Accessibility & contrast
On white
4.90
#BA4972 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#BA4972 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4972
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4972 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6373
Deuteranopia (green-blind)
#7B796F
Tritanopia (blue-blind)
#C93E59
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba4972; /* rgb */ color: rgb(186, 73, 114); /* oklch */ color: oklch(56.7% 0.151 0.5);
Tailwind
colors: {
custom: {
50: '#d3819a',
500: '#ba4972',
950: '#000000',
},
}SCSS
$custom: #ba4972; $custom-light: #d3819a; $custom-dark: #000000;
JSON
{
"hex": "#ba4972",
"rgb": {
"r": 186,
"g": 73,
"b": 114
},
"hsl": {
"h": 338.23,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.56721,
"c": 0.15077,
"h": 0.5
},
"luminance": 0.16419
}Semantic roles & 50–950 ramp
primary
#BA4972
secondary
#96C8B6
accent
#D5A653
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E