#BA4E99#BA4E99
#BA4E99 is a mid, vivid pink. Relative luminance 0.182; OKLCH L 58.8% C 0.164 H 341.1°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #BA4E99 |
|---|---|
| RGB | rgb(186, 78, 153) |
| HSL | hsl(318, 44%, 52%) |
| HSV | hsv(318, 58%, 73%) |
| CMYK | cmyk(0%, 58.1%, 17.7%, 27.1%) |
| CIE-LAB | lab(49.73, 52.24, -19.83) |
| CIE-LCH | lch(49.73, 55.87, 339.21°) |
| OKLab | oklab(58.8% 0.155 -0.0531) |
| OKLCH | oklch(58.8% 0.164 341.1) |
| XYZ | xyz(28.7245, 18.1902, 32.1290) |
| Luminance | 0.1819 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 6.30
Purpley Pink
#C83CB9
ΔE00 6.64
Purpleish
#98568D
ΔE00 6.86
Light Plum
#9D5783
ΔE00 6.97
Pinky Purple
#C94CBE
ΔE00 6.98
Ugly Purple
#A442A0
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA4E99 #4EBA6F
analogous
#A54EBA #BA4E99 #BA4E63
triadic
#BA4E99 #99BA4E #4E99BA
tetradic
#BA4E99 #BAA54E #4EBA6F #4E63BA
square
#BA4E99 #BAA54E #4EBA6F #4E63BA
split-complementary
#BA4E99 #63BA4E #4EBAA5
monochromatic
#662853 #923977 #BA4E99 #CB7AB2 #DCA6CC
Accessibility & contrast
On white
4.53
#BA4E99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#BA4E99 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA4E99
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA4E99 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA4E99 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#546B9B
Deuteranopia (green-blind)
#747D96
Tritanopia (blue-blind)
#C4506D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #ba4e99; /* rgb */ color: rgb(186, 78, 153); /* oklch */ color: oklch(58.8% 0.164 341.1);
Tailwind
colors: {
custom: {
50: '#d285b7',
500: '#ba4e99',
950: '#000000',
},
}SCSS
$custom: #ba4e99; $custom-light: #d285b7; $custom-dark: #000000;
JSON
{
"hex": "#ba4e99",
"rgb": {
"r": 186,
"g": 78,
"b": 153
},
"hsl": {
"h": 318.333,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.58798,
"c": 0.16389,
"h": 341.1
},
"luminance": 0.18188
}Semantic roles & 50–950 ramp
primary
#BA4E99
secondary
#9ACAA9
accent
#D47B54
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140B11
muted
#837C80