#AF3989
Closest named color: Medium Violet Red (#C71585). oklch(54% 0.175 343), rgb(175, 57, 137).
Aa
White text reads best on this color (5.57:1).
About this color
#AF3989 is a medium-dark, vivid pink. In OKLCH its lightness is 54%, its chroma 0.175 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.053 away. White text reads best on it, at 5.57:1.
| Hue family | Pinks |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.175) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.76:1 |
| White text | 5.57:1 |
Values
| HEX | #AF3989 |
| RGB | rgb(175, 57, 137) |
| HSL | hsl(319, 51%, 45%) |
| OKLCH | oklch(54% 0.175 343) |
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 #AF3989 | 5.57:1 | AA | Lc -82.3 | Fine for body text |
| Black text on #AF3989 | 3.76:1 | AA large text | Lc 27.1 | Dividers and decoration only |
| #AF3989 text on white | 5.57:1 | AA | Lc 76.9 | Fine for body text |
| #AF3989 text on black | 3.76:1 | AA large text | Lc -24.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
#F6E4EE
oklch(93.6% 0.024 342.9)
-
Step 200
200
#EFCEE1
oklch(88.5% 0.044 342.5)
-
Step 300
300
#E6ADCE
oklch(81% 0.079 343.4)
-
Step 400
400
#D67FB5
oklch(70.6% 0.126 342.9)
-
Step 500
500
#C95CA3
oklch(63.1% 0.161 342.9)
-
Step 600
600 (this color)
#AF3989
oklch(54% 0.175 343)
-
Step 700
700
#9B2F78
oklch(49.1% 0.163 343.3)
-
Step 800
800
#7E2962
oklch(42.8% 0.134 343.2)
-
Step 900
900
#662650
oklch(37.7% 0.106 343.2)
-
Step 950
950
#3C172F
oklch(27% 0.068 342.9)
#AF3989 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) | #445C8B | 0.191 |
| Deuteranopia (no green cones) | #676F86 | 0.168 |
| Tritanopia (no blue cones) | #BA395C | 0.075 |
| Achromatopsia (no color) | #686868 | 0.177 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF3989
#AF3989
oklch(54% 0.175 343)
- #00835B
#00835B
oklch(54% 0.116 163.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 #AF3989, closest first.
No curated palette has a color within ΔE 0.04 of #AF3989.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.053
- Warm Purple #952E8F ΔE 0.062
- Light Plum #9D5783 ΔE 0.068
- Light Eggplant #894585 ΔE 0.074
- Light Burgundy #A8415B ΔE 0.078
- Purply #983FB2 ΔE 0.080
- Dark Pink #CB416B ΔE 0.082
- Red Violet #9E0168 ΔE 0.083
Use #AF3989 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.