#AB3788
Closest named color: Warm Purple (#952E8F). oklch(53.2% 0.174 342), rgb(171, 55, 136).
Aa
White text reads best on this color (5.77:1).
About this color
#AB3788 is a medium-dark, vivid pink. In OKLCH its lightness is 53%, its chroma 0.174 and its hue 342°. Its hue sits on the warm side of the wheel. The nearest named color is Warm Purple (#952E8F), ΔE 0.053 away. White text reads best on it, at 5.77:1.
| Hue family | Pinks |
| Lightness | medium-dark (53%) |
| Chroma | vivid (0.174) |
| Temperature | warm |
| Nearest name | Warm Purple (#952E8F) |
| Black text | 3.63:1 |
| White text | 5.77:1 |
Values
| HEX | #AB3788 |
| RGB | rgb(171, 55, 136) |
| HSL | hsl(318, 51%, 44%) |
| OKLCH | oklch(53.2% 0.174 342) |
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 #AB3788 | 5.77:1 | AA | Lc -83.3 | Fine for body text |
| Black text on #AB3788 | 3.63:1 | AA large text | Lc 26.1 | Dividers and decoration only |
| #AB3788 text on white | 5.77:1 | AA | Lc 78.0 | Fine for body text |
| #AB3788 text on black | 3.63:1 | AA large text | Lc -23.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
#FBF3F7
oklch(97.1% 0.01 345.4)
-
Step 100
100
#F5E4EE
oklch(93.5% 0.023 341.3)
-
Step 200
200
#EFCEE1
oklch(88.5% 0.044 342.5)
-
Step 300
300
#E5ADCF
oklch(80.9% 0.079 342)
-
Step 400
400
#D580B6
oklch(70.7% 0.124 342.1)
-
Step 500
500
#C85CA4
oklch(63% 0.161 342.1)
-
Step 600
600 (this color)
#AB3788
oklch(53.2% 0.174 342)
-
Step 700
700
#9A307A
oklch(49.1% 0.162 342)
-
Step 800
800
#7D2963
oklch(42.7% 0.134 342.1)
-
Step 900
900
#652751
oklch(37.7% 0.104 341.9)
-
Step 950
950
#3B182F
oklch(27% 0.065 342.2)
#AB3788 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) | #405A8A | 0.191 |
| Deuteranopia (no green cones) | #646C85 | 0.166 |
| Tritanopia (no blue cones) | #B5385A | 0.077 |
| Achromatopsia (no color) | #666666 | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AB3788
#AB3788
oklch(53.2% 0.174 342)
- #008157
#008157
oklch(53.3% 0.117 161.8)
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 #AB3788, closest first.
No curated palette has a color within ΔE 0.04 of #AB3788.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Warm Purple #952E8F ΔE 0.053
- Medium Violet Red #C71585 ΔE 0.058
- Light Eggplant #894585 ΔE 0.067
- Light Plum #9D5783 ΔE 0.070
- Red Violet #9E0168 ΔE 0.076
- Purply #983FB2 ΔE 0.077
- Light Burgundy #A8415B ΔE 0.079
- Deep Magenta #A0025C ΔE 0.084
Use #AB3788 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.