#BA4B79#BA4B79
#BA4B79 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.2% C 0.150 H 357.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4B79 |
|---|---|
| RGB | rgb(186, 75, 121) |
| HSL | hsl(335, 45%, 51%) |
| HSV | hsv(335, 60%, 73%) |
| CMYK | cmyk(0%, 59.7%, 34.9%, 27.1%) |
| CIE-LAB | lab(48.08, 49.29, -3.13) |
| CIE-LCH | lch(48.08, 49.39, 356.36°) |
| OKLab | oklab(57.2% 0.1503 -0.0076) |
| OKLCH | oklch(57.2% 0.15 357.1) |
| XYZ | xyz(26.2184, 16.8545, 19.9579) |
| Luminance | 0.1685 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.48
Darkish Pink
#DA467D
ΔE00 6.29
Deep Rose
#C74767
ΔE00 6.44
Light Plum
#9D5783
ΔE00 7.43
Light Burgundy
#A8415B
ΔE00 7.62
Dark Rose
#B5485D
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4B79 #4BBA8C
analogous
#BA4BB0 #BA4B79 #BA544B
triadic
#BA4B79 #79BA4B #4B79BA
tetradic
#BA4B79 #B0BA4B #4BBA8C #544BBA
square
#BA4B79 #B0BA4B #4BBA8C #544BBA
split-complementary
#BA4B79 #4BBA54 #4BB0BA
monochromatic
#642640 #90375C #BA4B79 #CB779A #DCA3BB
Accessibility & contrast
On white
4.81
#BA4B79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#BA4B79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4B79
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4B79 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D657A
Deuteranopia (green-blind)
#7B7A76
Tritanopia (blue-blind)
#C8425D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #ba4b79; /* rgb */ color: rgb(186, 75, 121); /* oklch */ color: oklch(57.2% 0.150 357.1);
Tailwind
colors: {
custom: {
50: '#d2839f',
500: '#ba4b79',
950: '#000000',
},
}SCSS
$custom: #ba4b79; $custom-light: #d2839f; $custom-dark: #000000;
JSON
{
"hex": "#ba4b79",
"rgb": {
"r": 186,
"g": 75,
"b": 121
},
"hsl": {
"h": 335.135,
"s": 44.578,
"l": 51.176
},
"oklch": {
"l": 0.57202,
"c": 0.15048,
"h": 357.1
},
"luminance": 0.16852
}Semantic roles & 50–950 ramp
primary
#BA4B79
secondary
#98C9B5
accent
#D49F54
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E