#AF3D81

Closest named color: Medium Violet Red (#C71585). oklch(54.1% 0.165 347.2), rgb(175, 61, 129).

Aa

White text reads best on this color (5.51:1).

About this color

#AF3D81 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.165 and its hue 347°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.059 away. White text reads best on it, at 5.51:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.165)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.80:1
White text5.51:1

Values

HEX#AF3D81
RGBrgb(175, 61, 129)
HSLhsl(324, 48%, 46%)
OKLCHoklch(54.1% 0.165 347.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #AF3D81 5.51:1 AA Lc -82.1 Fine for body text
Black text on #AF3D81 3.80:1 AA large text Lc 27.3 Dividers and decoration only
#AF3D81 text on white 5.51:1 AA Lc 76.7 Fine for body text
#AF3D81 text on black 3.80: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.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4EC

    oklch(93.6% 0.022 348.8)

  3. Step 200

    200

    #EFCFDE

    oklch(88.6% 0.041 348)

  4. Step 300

    300

    #E5AECA

    oklch(80.9% 0.073 346.9)

  5. Step 400

    400

    #D681AF

    oklch(70.7% 0.119 346.9)

  6. Step 500

    500

    #C95E9B

    oklch(63.1% 0.153 347.1)

  7. Step 600

    600 (this color)

    #AF3D81

    oklch(54.1% 0.165 347.2)

  8. Step 700

    700

    #9A3371

    oklch(49.1% 0.152 347.1)

  9. Step 800

    800

    #7E2B5C

    oklch(42.8% 0.128 347.4)

  10. Step 900

    900

    #65284B

    oklch(37.6% 0.098 347.3)

  11. Step 950

    950

    #3C182C

    oklch(27% 0.063 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF3D81 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#4B5C830.180
Deuteranopia (no green cones)#6B707E0.161
Tritanopia (no blue cones)#BB3A590.066
Achromatopsia (no color)#6969690.166

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #AF3D81

    #AF3D81

    oklch(54.1% 0.165 347.2)

  • #008362

    #008362

    oklch(54.2% 0.11 167.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3D81

    #AF3D81

    oklch(54.1% 0.165 347.2)

  • #9449AD

    #9449AD

    oklch(54% 0.165 316.9)

  • #BB3A4B

    #BB3A4B

    oklch(54.1% 0.164 17.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #AF3D81

    #AF3D81

    oklch(54.1% 0.165 347.2)

  • #388300

    #388300

    oklch(54.1% 0.164 137.2)

  • #007F82

    #007F82

    oklch(54.1% 0.092 197.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3D81

    #AF3D81

    oklch(54.1% 0.165 347.2)

  • #777300

    #777300

    oklch(54.2% 0.116 107.3)

  • #007A9E

    #007A9E

    oklch(54.1% 0.105 227.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3D81

    #AF3D81

    oklch(54.1% 0.165 347.2)

  • #936500

    #936500

    oklch(54.1% 0.113 77.5)

  • #008362

    #008362

    oklch(54.2% 0.11 167.5)

  • #246CCC

    #246CCC

    oklch(54.1% 0.165 257.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #AF3D81, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #AF3D81 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.