#BA51A5
Closest named color: Pinky Purple (#C94CBE). oklch(59.7% 0.168 335.9), rgb(186, 81, 165).
Aa
Black text reads best on this color (4.80:1).
About this color
#BA51A5 is a medium-dark, vivid pink. In OKLCH its lightness is 60%, its chroma 0.168 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Pinky Purple (#C94CBE), ΔE 0.048 away. Black text reads best on it, at 4.80:1.
| Hue family | Pinks |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.168) |
| Temperature | warm |
| Nearest name | Pinky Purple (#C94CBE) |
| Black text | 4.80:1 |
| White text | 4.36:1 |
Values
| HEX | #BA51A5 |
| RGB | rgb(186, 81, 165) |
| HSL | hsl(312, 43%, 52%) |
| OKLCH | oklch(59.7% 0.168 335.9) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #BA51A5 | 4.36:1 | AA large text | Lc -75.2 | Fine for body text |
| Black text on #BA51A5 | 4.80:1 | AA | Lc 34.4 | Non-text elements, placeholder text |
| #BA51A5 text on white | 4.36:1 | AA large text | Lc 69.7 | Content text, not long reading |
| #BA51A5 text on black | 4.80:1 | AA | Lc -32.0 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.
-
Step 50
50
#FBF3F8
oklch(97.2% 0.011 339.3)
-
Step 100
100
#F5E4F0
oklch(93.6% 0.024 336.1)
-
Step 200
200
#EDCEE5
oklch(88.4% 0.046 335.1)
-
Step 300
300
#E3ADD5
oklch(80.9% 0.082 335.9)
-
Step 400
400
#D37FC0
oklch(70.7% 0.132 335.7)
-
Step 500
500 (this color)
#BA51A5
oklch(59.7% 0.168 335.9)
-
Step 600
600
#B13E9B
oklch(55.7% 0.182 336.2)
-
Step 700
700
#972E85
oklch(49% 0.171 335.5)
-
Step 800
800
#7B286C
oklch(42.7% 0.141 335.7)
-
Step 900
900
#632657
oklch(37.6% 0.109 335.9)
-
Step 950
950
#3B1733
oklch(27% 0.07 336.6)
#BA51A5 with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #526FA8 | 0.175 |
| Deuteranopia (no green cones) | #717FA2 | 0.156 |
| Tritanopia (no blue cones) | #C35674 | 0.082 |
| Achromatopsia (no color) | #797979 | 0.169 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA51A5
#BA51A5
oklch(59.7% 0.168 335.9)
- #009859
#009859
oklch(59.8% 0.145 155.9)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #BA51A5, closest first.
No curated palette has a color within ΔE 0.04 of #BA51A5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pinky Purple #C94CBE ΔE 0.048
- Purpley Pink #C83CB9 ΔE 0.054
- Medium Orchid #BA55D3 ΔE 0.070
- Soft Purple #A66FB5 ΔE 0.070
- Amethyst #9B5FC0 ΔE 0.071
- Pale Magenta #D767AD ΔE 0.076
- Light Plum #9D5783 ΔE 0.077
- Dark Lilac #9C6DA5 ΔE 0.077
Use #BA51A5 in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.