#BA4D79#BA4D79
#BA4D79 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.5% C 0.148 H 357.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4D79 |
|---|---|
| RGB | rgb(186, 77, 121) |
| HSL | hsl(336, 44%, 52%) |
| HSV | hsv(336, 59%, 73%) |
| CMYK | cmyk(0%, 58.6%, 34.9%, 27.1%) |
| CIE-LAB | lab(48.42, 48.36, -2.62) |
| CIE-LCH | lch(48.42, 48.43, 356.90°) |
| OKLab | oklab(57.46% 0.1474 -0.0063) |
| OKLCH | oklch(57.46% 0.148 357.6) |
| XYZ | xyz(26.3562, 17.1301, 20.0039) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.35
Darkish Pink
#DA467D
ΔE00 6.12
Deep Rose
#C74767
ΔE00 6.22
Light Plum
#9D5783
ΔE00 7.49
Dark Rose
#B5485D
ΔE00 7.58
Light Burgundy
#A8415B
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4D79 #4DBA8E
analogous
#BA4DB0 #BA4D79 #BA584D
triadic
#BA4D79 #79BA4D #4D79BA
tetradic
#BA4D79 #B0BA4D #4DBA8E #584DBA
square
#BA4D79 #B0BA4D #4DBA8E #584DBA
split-complementary
#BA4D79 #4DBA58 #4DB0BA
monochromatic
#652740 #91385C #BA4D79 #CB799A #DCA5BB
Accessibility & contrast
On white
4.75
#BA4D79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#BA4D79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4D79
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4D79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4D79 | 1.00 | 4.75 | 4.43 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F667A
Deuteranopia (green-blind)
#7C7B76
Tritanopia (blue-blind)
#C8455E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba4d79; /* rgb */ color: rgb(186, 77, 121); /* oklch */ color: oklch(57.5% 0.148 357.6);
Tailwind
colors: {
custom: {
50: '#d2849f',
500: '#ba4d79',
950: '#000000',
},
}SCSS
$custom: #ba4d79; $custom-light: #d2849f; $custom-dark: #000000;
JSON
{
"hex": "#ba4d79",
"rgb": {
"r": 186,
"g": 77,
"b": 121
},
"hsl": {
"h": 335.78,
"s": 44.13,
"l": 51.569
},
"oklch": {
"l": 0.57461,
"c": 0.14752,
"h": 357.6
},
"luminance": 0.17127
}Semantic roles & 50–950 ramp
primary
#BA4D79
secondary
#99C9B6
accent
#D4A054
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E