#BA66A3#BA66A3
#BA66A3 is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.6% C 0.132 H 338.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #BA66A3 |
|---|---|
| RGB | rgb(186, 102, 163) |
| HSL | hsl(316, 38%, 56%) |
| HSV | hsv(316, 45%, 73%) |
| CMYK | cmyk(0%, 45.2%, 12.4%, 27.1%) |
| CIE-LAB | lab(54.65, 41.92, -18.19) |
| CIE-LCH | lch(54.65, 45.69, 336.55°) |
| OKLab | oklab(62.59% 0.1223 -0.0488) |
| OKLCH | oklch(62.59% 0.132 338.3) |
| XYZ | xyz(31.6121, 22.5882, 37.3382) |
| Luminance | 0.2259 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Pink
#CE5DAE
ΔE00 4.15
Pale Magenta
#D767AD
ΔE00 5.52
Orchid (survey)
#C875C4
ΔE00 6.97
Soft Purple
#A66FB5
ΔE00 7.06
Dark Lilac
#9C6DA5
ΔE00 7.10
Pinky Purple
#C94CBE
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA66A3 #66BA7D
analogous
#A766BA #BA66A3 #BA6679
triadic
#BA66A3 #A3BA66 #66A3BA
tetradic
#BA66A3 #BAA766 #66BA7D #6679BA
square
#BA66A3 #BAA766 #66BA7D #6679BA
split-complementary
#BA66A3 #79BA66 #66BAA7
monochromatic
#723361 #9C4685 #BA66A3 #CD90BC #E0BAD6
Accessibility & contrast
On white
3.81
#BA66A3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.52
#BA66A3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BA66A3
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA66A3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BA66A3 | 1.00 | 3.81 | 5.52 | 5.52 |
| #FFFFFF | 3.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#687BA5
Deuteranopia (green-blind)
#7F88A1
Tritanopia (blue-blind)
#C2687D
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #ba66a3; /* rgb */ color: rgb(186, 102, 163); /* oklch */ color: oklch(62.6% 0.132 338.3);
Tailwind
colors: {
custom: {
50: '#d094be',
500: '#ba66a3',
950: '#000000',
},
}SCSS
$custom: #ba66a3; $custom-light: #d094be; $custom-dark: #000000;
JSON
{
"hex": "#ba66a3",
"rgb": {
"r": 186,
"g": 102,
"b": 163
},
"hsl": {
"h": 316.429,
"s": 37.838,
"l": 56.471
},
"oklch": {
"l": 0.62587,
"c": 0.13166,
"h": 338.3
},
"luminance": 0.22586
}Semantic roles & 50–950 ramp
primary
#BA66A3
secondary
#ADCFB6
accent
#CE7A5A
background
#FDF9FB
surface
#FAF2F6
border
#D3CCD0
text
#140D12
muted
#837E81