#BA4E7E#BA4E7E
#BA4E7E is a mid, vivid pink. Relative luminance 0.174; OKLCH L 57.8% C 0.148 H 355.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E7E |
|---|---|
| RGB | rgb(186, 78, 126) |
| HSL | hsl(333, 44%, 52%) |
| HSV | hsv(333, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 32.3%, 27.1%) |
| CIE-LAB | lab(48.76, 48.51, -5.15) |
| CIE-LCH | lch(48.76, 48.78, 353.94°) |
| OKLab | oklab(57.76% 0.1476 -0.013) |
| OKLCH | oklch(57.76% 0.148 355) |
| XYZ | xyz(26.7413, 17.3969, 21.6843) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 6.42
Darkish Pink
#DA467D
ΔE00 6.43
Light Plum
#9D5783
ΔE00 6.78
Deep Rose
#C74767
ΔE00 7.40
Mediumvioletred
#C71585
ΔE00 7.95
Magenta (survey)
#C20078
ΔE00 8.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E7E #4EBA8A
analogous
#BA4EB4 #BA4E7E #BA544E
triadic
#BA4E7E #7EBA4E #4E7EBA
tetradic
#BA4E7E #B4BA4E #4EBA8A #544EBA
square
#BA4E7E #B4BA4E #4EBA8A #544EBA
split-complementary
#BA4E7E #4EBA54 #4EB4BA
monochromatic
#662843 #923960 #BA4E7E #CB7A9E #DCA6BE
Accessibility & contrast
On white
4.69
#BA4E7E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#BA4E7E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E7E
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E7E | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E677F
Deuteranopia (green-blind)
#7B7B7B
Tritanopia (blue-blind)
#C74761
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ba4e7e; /* rgb */ color: rgb(186, 78, 126); /* oklch */ color: oklch(57.8% 0.148 355.0);
Tailwind
colors: {
custom: {
50: '#d284a3',
500: '#ba4e7e',
950: '#000000',
},
}SCSS
$custom: #ba4e7e; $custom-light: #d284a3; $custom-dark: #000000;
JSON
{
"hex": "#ba4e7e",
"rgb": {
"r": 186,
"g": 78,
"b": 126
},
"hsl": {
"h": 333.333,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57761,
"c": 0.14816,
"h": 355
},
"luminance": 0.17394
}Semantic roles & 50–950 ramp
primary
#BA4E7E
secondary
#9ACAB5
accent
#D49B54
background
#FDF8FA
surface
#FAEFF3
border
#D3CACD
text
#150B0F
muted
#837C7F