#AB2894
Closest named color: Warm Purple (#952E8F). oklch(52.4% 0.2 336.3), rgb(171, 40, 148).
Aa
White text reads best on this color (6.06:1).
About this color
#AB2894 is a medium-dark, vivid pink. In OKLCH its lightness is 52%, its chroma 0.200 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.044 away. White text reads best on it, at 6.06:1.
| Hue family | Pinks |
| Lightness | medium-dark (52%) |
| Chroma | vivid (0.200) |
| Temperature | warm |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 3.46:1 |
| White text | 6.06:1 |
Values
| HEX | #AB2894 |
| RGB | rgb(171, 40, 148) |
| HSL | hsl(311, 62%, 41%) |
| OKLCH | oklch(52.4% 0.2 336.3) |
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 #AB2894 | 6.06:1 | AA | Lc -84.2 | Fine for body text |
| Black text on #AB2894 | 3.46:1 | AA large text | Lc 25.1 | Dividers and decoration only |
| #AB2894 text on white | 6.06:1 | AA | Lc 79.0 | Fine for body text |
| #AB2894 text on black | 3.46:1 | AA large text | Lc -22.8 | 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
#FBF3F8
oklch(97.2% 0.011 339.3)
-
Step 100
100
#F6E4F0
oklch(93.7% 0.025 337.8)
-
Step 200
200
#F0CDE6
oklch(88.5% 0.051 336.3)
-
Step 300
300
#E6ABD7
oklch(80.9% 0.089 335.8)
-
Step 400
400
#D87BC2
oklch(70.7% 0.145 336.4)
-
Step 500
500
#CB55B2
oklch(63.1% 0.184 336.6)
-
Step 600
600 (this color)
#AB2894
oklch(52.4% 0.2 336.3)
-
Step 700
700
#9C2587
oklch(49.1% 0.186 336.3)
-
Step 800
800
#7F216E
oklch(42.7% 0.155 336.2)
-
Step 900
900
#662259
oklch(37.6% 0.12 336)
-
Step 950
950
#3C1534
oklch(26.9% 0.076 336.1)
#AB2894 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) | #2B5697 | 0.220 |
| Deuteranopia (no green cones) | #596991 | 0.187 |
| Tritanopia (no blue cones) | #B4325C | 0.098 |
| Achromatopsia (no color) | #626262 | 0.202 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB2894
#AB2894
oklch(52.4% 0.2 336.3)
- #007F4A
#007F4A
oklch(52.4% 0.127 156.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 #AB2894, closest first.
No curated palette has a color within ΔE 0.04 of #AB2894.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.044
- Medium Violet Red #C71585 ΔE 0.061
- Purply #983FB2 ΔE 0.065
- Red Violet #9E0168 ΔE 0.077
- Light Eggplant #894585 ΔE 0.081
- Dark Magenta #8B008B ΔE 0.082
- Purpley Pink #C83CB9 ΔE 0.084
- Deep Magenta #A0025C ΔE 0.092
Use #AB2894 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.