#BA1F93
Closest named color: Medium Violet Red (#C71585). oklch(54.2% 0.216 341.2), rgb(186, 31, 147).
Aa
White text reads best on this color (5.66:1).
About this color
#BA1F93 is a medium-dark, vivid pink. In OKLCH its lightness is 54%, its chroma 0.216 and its hue 341°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.035 away. White text reads best on it, at 5.66:1.
| Hue family | Pinks |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.216) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.70:1 |
| White text | 5.66:1 |
Values
| HEX | #BA1F93 |
| RGB | rgb(186, 31, 147) |
| HSL | hsl(315, 71%, 43%) |
| OKLCH | oklch(54.2% 0.216 341.2) |
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 #BA1F93 | 5.66:1 | AA | Lc -82.0 | Fine for body text |
| Black text on #BA1F93 | 3.70:1 | AA large text | Lc 27.4 | Dividers and decoration only |
| #BA1F93 text on white | 5.66:1 | AA | Lc 76.7 | Fine for body text |
| #BA1F93 text on black | 3.70:1 | AA large text | Lc -25.1 | Dividers and decoration only |
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 600.
-
Step 50
50
#FCF2F8
oklch(97.1% 0.013 340.5)
-
Step 100
100
#F8E3EF
oklch(93.6% 0.028 342.3)
-
Step 200
200
#F3CCE4
oklch(88.5% 0.054 340.8)
-
Step 300
300
#ECA8D3
oklch(80.9% 0.097 341.2)
-
Step 400
400
#E076BD
oklch(70.8% 0.156 341.2)
-
Step 500
500
#D44CAC
oklch(63.1% 0.199 341.3)
-
Step 600
600 (this color)
#BA1F93
oklch(54.2% 0.216 341.2)
-
Step 700
700
#A41481
oklch(49.1% 0.2 341.2)
-
Step 800
800
#851769
oklch(42.7% 0.166 341)
-
Step 900
900
#6C1C55
oklch(37.7% 0.13 341.6)
-
Step 950
950
#3F1232
oklch(26.9% 0.082 340.8)
#BA1F93 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) | #305796 | 0.242 |
| Deuteranopia (no green cones) | #637090 | 0.207 |
| Tritanopia (no blue cones) | #C62459 | 0.099 |
| Achromatopsia (no color) | #676767 | 0.217 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #BA1F93
#BA1F93
oklch(54.2% 0.216 341.2)
- #008458
#008458
oklch(54.2% 0.12 161.2)
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 #BA1F93, closest first.
No curated palette has a color within ΔE 0.04 of #BA1F93.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.035
- Purpley Pink #C83CB9 ΔE 0.070
- Warm Purple #952E8F ΔE 0.073
- Purply #983FB2 ΔE 0.087
- Red Violet #9E0168 ΔE 0.089
- Pinky Purple #C94CBE ΔE 0.090
- Dark Hot Pink #D90166 ΔE 0.095
- Deep Magenta #A0025C ΔE 0.100
Use #BA1F93 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.