#BA4872#BA4872
#BA4872 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.152 H 0.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4872 |
|---|---|
| RGB | rgb(186, 72, 114) |
| HSL | hsl(338, 45%, 51%) |
| HSV | hsv(338, 61%, 73%) |
| CMYK | cmyk(0%, 61.3%, 38.7%, 27.1%) |
| CIE-LAB | lab(47.35, 49.85, 0.05) |
| CIE-LCH | lch(47.35, 49.85, 0.06°) |
| OKLab | oklab(56.6% 0.1522 0.0008) |
| OKLCH | oklch(56.6% 0.152 0.3) |
| XYZ | xyz(25.6059, 16.2916, 17.7124) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.24
Deep Rose
#C74767
ΔE00 5.07
Dark Rose
#B5485D
ΔE00 6.11
Light Burgundy
#A8415B
ΔE00 6.12
Darkish Pink
#DA467D
ΔE00 6.36
Deep Pink
#CB0162
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4872 #48BA90
analogous
#BA48AB #BA4872 #BA5748
triadic
#BA4872 #72BA48 #4872BA
tetradic
#BA4872 #ABBA48 #48BA90 #5748BA
square
#BA4872 #ABBA48 #48BA90 #5748BA
split-complementary
#BA4872 #48BA57 #48ABBA
monochromatic
#62253C #8F3657 #BA4872 #CB7494 #DCA1B6
Accessibility & contrast
On white
4.93
#BA4872 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#BA4872 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4872
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4872 | 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)
#5D6373
Deuteranopia (green-blind)
#7B786F
Tritanopia (blue-blind)
#C93D58
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #ba4872; /* rgb */ color: rgb(186, 72, 114); /* oklch */ color: oklch(56.6% 0.152 0.3);
Tailwind
colors: {
custom: {
50: '#d3819a',
500: '#ba4872',
950: '#000000',
},
}SCSS
$custom: #ba4872; $custom-light: #d3819a; $custom-dark: #000000;
JSON
{
"hex": "#ba4872",
"rgb": {
"r": 186,
"g": 72,
"b": 114
},
"hsl": {
"h": 337.895,
"s": 45.238,
"l": 50.588
},
"oklch": {
"l": 0.56595,
"c": 0.15218,
"h": 0.3
},
"luminance": 0.16289
}Semantic roles & 50–950 ramp
primary
#BA4872
secondary
#96C8B6
accent
#D5A553
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0E
muted
#837C7E