#BA43A3#BA43A3
#BA43A3 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.0% C 0.187 H 336.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #BA43A3 |
|---|---|
| RGB | rgb(186, 67, 163) |
| HSL | hsl(312, 47%, 50%) |
| HSV | hsv(312, 64%, 73%) |
| CMYK | cmyk(0%, 64%, 12.4%, 27.1%) |
| CIE-LAB | lab(48.39, 58.57, -27.83) |
| CIE-LCH | lch(48.39, 64.84, 334.59°) |
| OKLab | oklab(57.95% 0.1713 -0.0756) |
| OKLCH | oklch(57.95% 0.187 336.2) |
| XYZ | xyz(28.8681, 17.1002, 36.4235) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.11
Ugly Purple
#A442A0
ΔE00 4.69
Pinky Purple
#C94CBE
ΔE00 5.65
Medium Purple
#9E43A2
ΔE00 6.01
Mediumvioletred
#C71585
ΔE00 7.58
Purpleish
#98568D
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA43A3 #43BA5A
analogous
#9643BA #BA43A3 #BA4367
triadic
#BA43A3 #A3BA43 #43A3BA
tetradic
#BA43A3 #BA9643 #43BA5A #4367BA
square
#BA43A3 #BA9643 #43BA5A #4367BA
split-complementary
#BA43A3 #67BA43 #43BA96
monochromatic
#602354 #8D337C #BA43A3 #CB6FB9 #DB9CCF
Accessibility & contrast
On white
4.75
#BA43A3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#BA43A3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA43A3
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA43A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA43A3 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4567A6
Deuteranopia (green-blind)
#6A79A0
Tritanopia (blue-blind)
#C34A6D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #ba43a3; /* rgb */ color: rgb(186, 67, 163); /* oklch */ color: oklch(58.0% 0.187 336.2);
Tailwind
colors: {
custom: {
50: '#d27fbe',
500: '#ba43a3',
950: '#000000',
},
}SCSS
$custom: #ba43a3; $custom-light: #d27fbe; $custom-dark: #000000;
JSON
{
"hex": "#ba43a3",
"rgb": {
"r": 186,
"g": 67,
"b": 163
},
"hsl": {
"h": 311.597,
"s": 47.036,
"l": 49.608
},
"oklch": {
"l": 0.57953,
"c": 0.18721,
"h": 336.2
},
"luminance": 0.17098
}Semantic roles & 50–950 ramp
primary
#BA43A3
secondary
#91C89C
accent
#D76B51
background
#FDF8FB
surface
#FAEFF7
border
#D3CAD0
text
#140B12
muted
#837C81