#BA3EA2#BA3EA2
#BA3EA2 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.193 H 336.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #BA3EA2 |
|---|---|
| RGB | rgb(186, 62, 162) |
| HSL | hsl(312, 50%, 49%) |
| HSV | hsv(312, 67%, 73%) |
| CMYK | cmyk(0%, 66.7%, 12.9%, 27.1%) |
| CIE-LAB | lab(47.62, 60.42, -28.43) |
| CIE-LCH | lch(47.62, 66.78, 334.80°) |
| OKLab | oklab(57.38% 0.1771 -0.0773) |
| OKLCH | oklch(57.38% 0.193 336.4) |
| XYZ | xyz(28.4943, 16.4954, 35.8586) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.33
Ugly Purple
#A442A0
ΔE00 4.35
Medium Purple
#9E43A2
ΔE00 5.71
Pinky Purple
#C94CBE
ΔE00 6.25
Mediumvioletred
#C71585
ΔE00 7.08
Purpleish
#98568D
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA3EA2 #3EBA56
analogous
#943EBA #BA3EA2 #BA3E64
triadic
#BA3EA2 #A2BA3E #3EA2BA
tetradic
#BA3EA2 #BA943E #3EBA56 #3E64BA
square
#BA3EA2 #BA943E #3EBA56 #3E64BA
split-complementary
#BA3EA2 #64BA3E #3EBA94
monochromatic
#5E1F52 #8C2F7A #BA3EA2 #CD68B9 #DC96CF
Accessibility & contrast
On white
4.89
#BA3EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#BA3EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BA3EA2
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA3EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA3EA2 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#68789F
Tritanopia (blue-blind)
#C3456A
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #ba3ea2; /* rgb */ color: rgb(186, 62, 162); /* oklch */ color: oklch(57.4% 0.193 336.4);
Tailwind
colors: {
custom: {
50: '#d27dbe',
500: '#ba3ea2',
950: '#000000',
},
}SCSS
$custom: #ba3ea2; $custom-light: #d27dbe; $custom-dark: #000000;
JSON
{
"hex": "#ba3ea2",
"rgb": {
"r": 186,
"g": 62,
"b": 162
},
"hsl": {
"h": 311.613,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.57379,
"c": 0.1932,
"h": 336.4
},
"luminance": 0.16493
}Semantic roles & 50–950 ramp
primary
#BA3EA2
secondary
#8CC898
accent
#DA694E
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#150A12
muted
#837C81