#BA5979#BA5979
#BA5979 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.1% C 0.129 H 1.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5979 |
|---|---|
| RGB | rgb(186, 89, 121) |
| HSL | hsl(340, 41%, 54%) |
| HSV | hsv(340, 52%, 73%) |
| CMYK | cmyk(0%, 52.2%, 34.9%, 27.1%) |
| CIE-LAB | lab(50.65, 42.52, 0.64) |
| CIE-LCH | lch(50.65, 42.52, 0.86°) |
| OKLab | oklab(59.13% 0.1293 0.0022) |
| OKLCH | oklch(59.13% 0.129 1) |
| XYZ | xyz(27.2746, 18.9670, 20.3100) |
| Luminance | 0.1896 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.68
Deep Rose
#C74767
ΔE00 5.70
Darkish Pink
#DA467D
ΔE00 6.08
Dusky Rose
#BA6873
ΔE00 6.53
Rose (survey)
#CF6275
ΔE00 6.97
Dark Rose
#B5485D
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5979 #59BA9A
analogous
#BA59AA #BA5979 #BA6A59
triadic
#BA5979 #79BA59 #5979BA
tetradic
#BA5979 #AABA59 #59BA9A #6A59BA
square
#BA5979 #AABA59 #59BA9A #6A59BA
split-complementary
#BA5979 #59BA6A #59AABA
monochromatic
#6C2D42 #973F5C #BA5979 #CC849C #DEAFBF
Accessibility & contrast
On white
4.38
#BA5979 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#BA5979 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5979
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5979 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5979 | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#696D7A
Deuteranopia (green-blind)
#827F77
Tritanopia (blue-blind)
#C85165
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #ba5979; /* rgb */ color: rgb(186, 89, 121); /* oklch */ color: oklch(59.1% 0.129 1.0);
Tailwind
colors: {
custom: {
50: '#d28b9f',
500: '#ba5979',
950: '#000000',
},
}SCSS
$custom: #ba5979; $custom-light: #d28b9f; $custom-dark: #000000;
JSON
{
"hex": "#ba5979",
"rgb": {
"r": 186,
"g": 89,
"b": 121
},
"hsl": {
"h": 340.206,
"s": 41.277,
"l": 53.922
},
"oklch": {
"l": 0.59127,
"c": 0.12929,
"h": 1
},
"luminance": 0.18964
}Semantic roles & 50–950 ramp
primary
#BA5979
secondary
#A3CCBE
accent
#D1A957
background
#FDF8F9
surface
#FAF0F2
border
#D3CBCC
text
#140C0E
muted
#837D7E