#BA4E79#BA4E79
#BA4E79 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.6% C 0.146 H 357.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E79 |
|---|---|
| RGB | rgb(186, 78, 121) |
| HSL | hsl(336, 44%, 52%) |
| HSV | hsv(336, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 34.9%, 27.1%) |
| CIE-LAB | lab(48.60, 47.89, -2.36) |
| CIE-LCH | lch(48.60, 47.95, 357.18°) |
| OKLab | oklab(57.59% 0.1459 -0.0056) |
| OKLCH | oklch(57.59% 0.146 357.8) |
| XYZ | xyz(26.4267, 17.2711, 20.0274) |
| Luminance | 0.1727 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 5.31
Darkish Pink
#DA467D
ΔE00 6.05
Deep Rose
#C74767
ΔE00 6.12
Dark Rose
#B5485D
ΔE00 7.51
Light Plum
#9D5783
ΔE00 7.53
Light Burgundy
#A8415B
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E79 #4EBA8F
analogous
#BA4EAF #BA4E79 #BA594E
triadic
#BA4E79 #79BA4E #4E79BA
tetradic
#BA4E79 #AFBA4E #4EBA8F #594EBA
square
#BA4E79 #AFBA4E #4EBA8F #594EBA
split-complementary
#BA4E79 #4EBA59 #4EAFBA
monochromatic
#662840 #92395C #BA4E79 #CB7A9A #DCA6BC
Accessibility & contrast
On white
4.72
#BA4E79 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#BA4E79 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E79
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E79 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60677A
Deuteranopia (green-blind)
#7C7B76
Tritanopia (blue-blind)
#C8465E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba4e79; /* rgb */ color: rgb(186, 78, 121); /* oklch */ color: oklch(57.6% 0.146 357.8);
Tailwind
colors: {
custom: {
50: '#d2849f',
500: '#ba4e79',
950: '#000000',
},
}SCSS
$custom: #ba4e79; $custom-light: #d2849f; $custom-dark: #000000;
JSON
{
"hex": "#ba4e79",
"rgb": {
"r": 186,
"g": 78,
"b": 121
},
"hsl": {
"h": 336.111,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57593,
"c": 0.14604,
"h": 357.8
},
"luminance": 0.17268
}Semantic roles & 50–950 ramp
primary
#BA4E79
secondary
#9ACAB7
accent
#D4A154
background
#FDF8F9
surface
#FAEFF2
border
#D3CACC
text
#150B0E
muted
#837C7E