#BA53A2#BA53A2
#BA53A2 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.8% C 0.163 H 337.3°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #BA53A2 |
|---|---|
| RGB | rgb(186, 83, 162) |
| HSL | hsl(314, 43%, 53%) |
| HSV | hsv(314, 55%, 73%) |
| CMYK | cmyk(0%, 55.4%, 12.9%, 27.1%) |
| CIE-LAB | lab(50.96, 51.29, -23.25) |
| CIE-LCH | lch(50.96, 56.31, 335.62°) |
| OKLab | oklab(59.83% 0.15 -0.0628) |
| OKLCH | oklch(59.83% 0.163 337.3) |
| XYZ | xyz(29.8648, 19.2365, 36.3155) |
| Luminance | 0.1923 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 5.12
Pinky Purple
#C94CBE
ΔE00 5.39
Purpley Pink
#C83CB9
ΔE00 5.66
Ugly Purple
#A442A0
ΔE00 7.16
Purpleish
#98568D
ΔE00 7.24
Light Plum
#9D5783
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA53A2 #53BA6B
analogous
#9F53BA #BA53A2 #BA536E
triadic
#BA53A2 #A2BA53 #53A2BA
tetradic
#BA53A2 #BA9F53 #53BA6B #536EBA
square
#BA53A2 #BA9F53 #53BA6B #536EBA
split-complementary
#BA53A2 #6EBA53 #53BA9F
monochromatic
#692A5A #943B80 #BA53A2 #CC7FBA #DDAAD1
Accessibility & contrast
On white
4.33
#BA53A2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#BA53A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA53A2
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA53A2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA53A2 | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#556FA5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#C35773
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #ba53a2; /* rgb */ color: rgb(186, 83, 162); /* oklch */ color: oklch(59.8% 0.163 337.3);
Tailwind
colors: {
custom: {
50: '#d188bd',
500: '#ba53a2',
950: '#000000',
},
}SCSS
$custom: #ba53a2; $custom-light: #d188bd; $custom-dark: #000000;
JSON
{
"hex": "#ba53a2",
"rgb": {
"r": 186,
"g": 83,
"b": 162
},
"hsl": {
"h": 313.981,
"s": 42.739,
"l": 52.745
},
"oklch": {
"l": 0.59832,
"c": 0.16264,
"h": 337.3
},
"luminance": 0.19234
}Semantic roles & 50–950 ramp
primary
#BA53A2
secondary
#9ECBA8
accent
#D37255
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81