#BA4E8D#BA4E8D
#BA4E8D is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.3% C 0.156 H 347.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E8D |
|---|---|
| RGB | rgb(186, 78, 141) |
| HSL | hsl(325, 44%, 52%) |
| HSV | hsv(325, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 24.2%, 27.1%) |
| CIE-LAB | lab(49.27, 50.50, -13.38) |
| CIE-LCH | lch(49.27, 52.24, 345.16°) |
| OKLab | oklab(58.31% 0.1521 -0.0352) |
| OKLCH | oklch(58.31% 0.156 347) |
| XYZ | xyz(27.7827, 17.8135, 27.1693) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Plum
#9D5783
ΔE00 6.02
Mediumvioletred
#C71585
ΔE00 7.03
Purpleish
#98568D
ΔE00 7.32
Purplish Pink
#CE5DAE
ΔE00 7.65
Purplish
#94568C
ΔE00 8.18
Darkish Pink
#DA467D
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E8D #4EBA7B
analogous
#B14EBA #BA4E8D #BA4E57
triadic
#BA4E8D #8DBA4E #4E8DBA
tetradic
#BA4E8D #BAB14E #4EBA7B #4E57BA
square
#BA4E8D #BAB14E #4EBA7B #4E57BA
split-complementary
#BA4E8D #57BA4E #4EBAB1
monochromatic
#66284C #92396D #BA4E8D #CB7AA9 #DCA6C6
Accessibility & contrast
On white
4.60
#BA4E8D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#BA4E8D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA4E8D
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA4E8D | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59698F
Deuteranopia (green-blind)
#777C8A
Tritanopia (blue-blind)
#C64C67
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba4e8d; /* rgb */ color: rgb(186, 78, 141); /* oklch */ color: oklch(58.3% 0.156 347.0);
Tailwind
colors: {
custom: {
50: '#d285ae',
500: '#ba4e8d',
950: '#000000',
},
}SCSS
$custom: #ba4e8d; $custom-light: #d285ae; $custom-dark: #000000;
JSON
{
"hex": "#ba4e8d",
"rgb": {
"r": 186,
"g": 78,
"b": 141
},
"hsl": {
"h": 325,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.5831,
"c": 0.15609,
"h": 347
},
"luminance": 0.17811
}Semantic roles & 50–950 ramp
primary
#BA4E8D
secondary
#9ACAAE
accent
#D48954
background
#FDF8FA
surface
#FAF0F4
border
#D3CBCE
text
#140B10
muted
#837C7F