#BA43A4#BA43A4
#BA43A4 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.188 H 335.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #BA43A4 |
|---|---|
| RGB | rgb(186, 67, 164) |
| HSL | hsl(311, 47%, 50%) |
| HSV | hsv(311, 64%, 73%) |
| CMYK | cmyk(0%, 64%, 11.8%, 27.1%) |
| CIE-LAB | lab(48.43, 58.72, -28.35) |
| CIE-LCH | lch(48.43, 65.21, 334.23°) |
| OKLab | oklab(58% 0.1714 -0.0771) |
| OKLCH | oklch(58% 0.188 335.8) |
| XYZ | xyz(28.9580, 17.1361, 36.8972) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.95
Ugly Purple
#A442A0
ΔE00 4.64
Pinky Purple
#C94CBE
ΔE00 5.51
Medium Purple
#9E43A2
ΔE00 5.94
Mediumvioletred
#C71585
ΔE00 7.73
Purpleish
#98568D
ΔE00 7.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA43A4 #43BA59
analogous
#9443BA #BA43A4 #BA4369
triadic
#BA43A4 #A4BA43 #43A4BA
tetradic
#BA43A4 #BA9443 #43BA59 #4369BA
square
#BA43A4 #BA9443 #43BA59 #4369BA
split-complementary
#BA43A4 #69BA43 #43BA94
monochromatic
#602355 #8D337C #BA43A4 #CB6FBA #DB9CD0
Accessibility & contrast
On white
4.74
#BA43A4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#BA43A4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA43A4
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA43A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA43A4 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4468A7
Deuteranopia (green-blind)
#6A79A1
Tritanopia (blue-blind)
#C34A6D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba43a4; /* rgb */ color: rgb(186, 67, 164); /* oklch */ color: oklch(58.0% 0.188 335.8);
Tailwind
colors: {
custom: {
50: '#d27fbf',
500: '#ba43a4',
950: '#000000',
},
}SCSS
$custom: #ba43a4; $custom-light: #d27fbf; $custom-dark: #000000;
JSON
{
"hex": "#ba43a4",
"rgb": {
"r": 186,
"g": 67,
"b": 164
},
"hsl": {
"h": 311.092,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.58001,
"c": 0.18794,
"h": 335.8
},
"luminance": 0.17134
}Semantic roles & 50–950 ramp
primary
#BA43A4
secondary
#91C89B
accent
#D76A51
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81