#BA49A2#BA49A2
#BA49A2 is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.6% C 0.178 H 336.8°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #BA49A2 |
|---|---|
| RGB | rgb(186, 73, 162) |
| HSL | hsl(313, 45%, 51%) |
| HSV | hsv(313, 61%, 73%) |
| CMYK | cmyk(0%, 60.8%, 12.9%, 27.1%) |
| CIE-LAB | lab(49.27, 55.86, -25.86) |
| CIE-LCH | lch(49.27, 61.56, 335.16°) |
| OKLab | oklab(58.59% 0.1636 -0.0701) |
| OKLCH | oklch(58.59% 0.178 336.8) |
| XYZ | xyz(29.1542, 17.8152, 36.0786) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.51
Pinky Purple
#C94CBE
ΔE00 5.39
Ugly Purple
#A442A0
ΔE00 5.46
Medium Purple
#9E43A2
ΔE00 6.74
Purplish Pink
#CE5DAE
ΔE00 6.85
Purpleish
#98568D
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BA49A2 #49BA61
analogous
#9949BA #BA49A2 #BA4969
triadic
#BA49A2 #A2BA49 #49A2BA
tetradic
#BA49A2 #BA9949 #49BA61 #4969BA
square
#BA49A2 #BA9949 #49BA61 #4969BA
split-complementary
#BA49A2 #69BA49 #49BA99
monochromatic
#632656 #8F367D #BA49A2 #CB75B9 #DCA2CF
Accessibility & contrast
On white
4.60
#BA49A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#BA49A2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #BA49A2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BA49A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BA49A2 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B6AA5
Deuteranopia (green-blind)
#6E7B9F
Tritanopia (blue-blind)
#C34E6F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #ba49a2; /* rgb */ color: rgb(186, 73, 162); /* oklch */ color: oklch(58.6% 0.178 336.8);
Tailwind
colors: {
custom: {
50: '#d282bd',
500: '#ba49a2',
950: '#000000',
},
}SCSS
$custom: #ba49a2; $custom-light: #d282bd; $custom-dark: #000000;
JSON
{
"hex": "#ba49a2",
"rgb": {
"r": 186,
"g": 73,
"b": 162
},
"hsl": {
"h": 312.743,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.58586,
"c": 0.17792,
"h": 336.8
},
"luminance": 0.17813
}Semantic roles & 50–950 ramp
primary
#BA49A2
secondary
#96C8A1
accent
#D56F53
background
#FDF8FB
surface
#FAEFF6
border
#D3CAD0
text
#140B12
muted
#837C81