#BA4E82#BA4E82
#BA4E82 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 57.9% C 0.150 H 352.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E82 |
|---|---|
| RGB | rgb(186, 78, 130) |
| HSL | hsl(331, 44%, 52%) |
| HSV | hsv(331, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 30.1%, 27.1%) |
| CIE-LAB | lab(48.89, 49.02, -7.36) |
| CIE-LCH | lch(48.89, 49.57, 351.46°) |
| OKLab | oklab(57.9% 0.1489 -0.0189) |
| OKLCH | oklch(57.9% 0.15 352.8) |
| XYZ | xyz(27.0045, 17.5022, 23.0708) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.34
Darkish Pink
#DA467D
ΔE00 6.90
Dark Pink
#CB416B
ΔE00 7.34
Mediumvioletred
#C71585
ΔE00 7.51
Deep Rose
#C74767
ΔE00 8.40
Magenta (survey)
#C20078
ΔE00 8.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E82 #4EBA86
analogous
#BA4EB8 #BA4E82 #BA504E
triadic
#BA4E82 #82BA4E #4E82BA
tetradic
#BA4E82 #B8BA4E #4EBA86 #504EBA
square
#BA4E82 #B8BA4E #4EBA86 #504EBA
split-complementary
#BA4E82 #4EBA50 #4EB8BA
monochromatic
#662846 #923964 #BA4E82 #CB7AA1 #DCA6C0
Accessibility & contrast
On white
4.67
#BA4E82 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#BA4E82 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E82
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E82 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6884
Deuteranopia (green-blind)
#7A7B7F
Tritanopia (blue-blind)
#C74862
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #ba4e82; /* rgb */ color: rgb(186, 78, 130); /* oklch */ color: oklch(57.9% 0.150 352.8);
Tailwind
colors: {
custom: {
50: '#d284a6',
500: '#ba4e82',
950: '#000000',
},
}SCSS
$custom: #ba4e82; $custom-light: #d284a6; $custom-dark: #000000;
JSON
{
"hex": "#ba4e82",
"rgb": {
"r": 186,
"g": 78,
"b": 130
},
"hsl": {
"h": 331.111,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.57901,
"c": 0.15004,
"h": 352.8
},
"luminance": 0.175
}Semantic roles & 50–950 ramp
primary
#BA4E82
secondary
#9ACAB3
accent
#D49654
background
#FDF8FA
surface
#FAEFF4
border
#D3CACE
text
#140B0F
muted
#837C7F