#AF3A8A
Closest named color: Medium Violet Red (#C71585). oklch(54.2% 0.175 342.6), rgb(175, 58, 138).
Aa
White text reads best on this color (5.53:1).
About this color
#AF3A8A 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.054 away. White text reads best on it, at 5.53:1.
| Hue family | Pinks |
| Lightness | medium-dark (54%) |
| Chroma | vivid (0.175) |
| Temperature | warm |
| Nearest name | Medium Violet Red (#C71585) |
| Black text | 3.79:1 |
| White text | 5.53:1 |
Values
| HEX | #AF3A8A |
| RGB | rgb(175, 58, 138) |
| HSL | hsl(319, 50%, 46%) |
| OKLCH | oklch(54.2% 0.175 342.6) |
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 #AF3A8A | 5.53:1 | AA | Lc -82.1 | Fine for body text |
| Black text on #AF3A8A | 3.79:1 | AA large text | Lc 27.3 | Dividers and decoration only |
| #AF3A8A text on white | 5.53:1 | AA | Lc 76.7 | Fine for body text |
| #AF3A8A text on black | 3.79:1 | AA large text | Lc -25.0 | 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
#E5ADCE
oklch(80.9% 0.078 342.8)
-
Step 400
400
#D680B6
oklch(70.8% 0.125 342.5)
-
Step 500
500
#C95CA3
oklch(63.1% 0.161 342.9)
-
Step 600
600 (this color)
#AF3A8A
oklch(54.2% 0.175 342.6)
-
Step 700
700
#9A3079
oklch(49.1% 0.161 342.5)
-
Step 800
800
#7D2962
oklch(42.6% 0.134 342.7)
-
Step 900
900
#652750
oklch(37.7% 0.104 342.8)
-
Step 950
950
#3C172F
oklch(27% 0.068 342.9)
#AF3A8A 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) | #445C8C | 0.190 |
| Deuteranopia (no green cones) | #677087 | 0.168 |
| Tritanopia (no blue cones) | #BA3B5D | 0.076 |
| Achromatopsia (no color) | #686868 | 0.176 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF3A8A
#AF3A8A
oklch(54.2% 0.175 342.6)
- #00845B
#00845B
oklch(54.2% 0.118 162.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 #AF3A8A, closest first.
No curated palette has a color within ΔE 0.04 of #AF3A8A.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Violet Red #C71585 ΔE 0.054
- Warm Purple #952E8F ΔE 0.062
- Light Plum #9D5783 ΔE 0.067
- Light Eggplant #894585 ΔE 0.074
- Purply #983FB2 ΔE 0.079
- Light Burgundy #A8415B ΔE 0.079
- Dark Pink #CB416B ΔE 0.082
- Purpley Pink #C83CB9 ΔE 0.085
Use #AF3A8A 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.