#BA5CA2#BA5CA2
#BA5CA2 is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.1% C 0.148 H 337.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #BA5CA2 |
|---|---|
| RGB | rgb(186, 92, 162) |
| HSL | hsl(315, 41%, 55%) |
| HSV | hsv(315, 51%, 73%) |
| CMYK | cmyk(0%, 50.5%, 12.9%, 27.1%) |
| CIE-LAB | lab(52.62, 46.89, -20.69) |
| CIE-LCH | lch(52.62, 51.25, 336.19°) |
| OKLab | oklab(61.06% 0.1371 -0.0557) |
| OKLCH | oklch(61.06% 0.148 337.9) |
| XYZ | xyz(30.5987, 20.7042, 36.5601) |
| Luminance | 0.2070 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.02
Pinky Purple
#C94CBE
ΔE00 6.29
Pale Magenta
#D767AD
ΔE00 6.69
Purpley Pink
#C83CB9
ΔE00 7.35
Purpleish
#98568D
ΔE00 7.74
Soft Purple
#A66FB5
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA5CA2 #5CBA74
analogous
#A35CBA #BA5CA2 #BA5C73
triadic
#BA5CA2 #A2BA5C #5CA2BA
tetradic
#BA5CA2 #BAA35C #5CBA74 #5C73BA
square
#BA5CA2 #BAA35C #5CBA74 #5C73BA
split-complementary
#BA5CA2 #73BA5C #5CBAA3
monochromatic
#6D2E5D #984082 #BA5CA2 #CC87BB #DEB2D3
Accessibility & contrast
On white
4.09
#BA5CA2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#BA5CA2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA5CA2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA5CA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA5CA2 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F74A4
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#C35F77
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #ba5ca2; /* rgb */ color: rgb(186, 92, 162); /* oklch */ color: oklch(61.1% 0.148 337.9);
Tailwind
colors: {
custom: {
50: '#d18dbd',
500: '#ba5ca2',
950: '#000000',
},
}SCSS
$custom: #ba5ca2; $custom-light: #d18dbd; $custom-dark: #000000;
JSON
{
"hex": "#ba5ca2",
"rgb": {
"r": 186,
"g": 92,
"b": 162
},
"hsl": {
"h": 315.319,
"s": 40.517,
"l": 54.51
},
"oklch": {
"l": 0.61064,
"c": 0.14796,
"h": 337.9
},
"luminance": 0.20702
}Semantic roles & 50–950 ramp
primary
#BA5CA2
secondary
#A5CDAF
accent
#D07657
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81