#AF3B83

Closest named color: Medium Violet Red (#C71585). oklch(54% 0.169 346), rgb(175, 59, 131).

Aa

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

About this color

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

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

Values

HEX#AF3B83
RGBrgb(175, 59, 131)
HSLhsl(323, 50%, 46%)
OKLCHoklch(54% 0.169 346)

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 #AF3B83 5.56:1 AA Lc -82.2 Fine for body text
Black text on #AF3B83 3.77:1 AA large text Lc 27.1 Dividers and decoration only
#AF3B83 text on white 5.56:1 AA Lc 76.9 Fine for body text
#AF3B83 text on black 3.77: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.

  1. Step 50

    50

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #EFCEDF

    oklch(88.4% 0.043 345.6)

  4. Step 300

    300

    #E6ADCB

    oklch(80.9% 0.077 346.1)

  5. Step 400

    400

    #D780B1

    oklch(70.7% 0.123 345.8)

  6. Step 500

    500

    #C95D9D

    oklch(63% 0.155 345.9)

  7. Step 600

    600 (this color)

    #AF3B83

    oklch(54% 0.169 346)

  8. Step 700

    700

    #9B3173

    oklch(49.1% 0.157 346.1)

  9. Step 800

    800

    #7E2A5E

    oklch(42.7% 0.13 345.9)

  10. Step 900

    900

    #66274D

    oklch(37.7% 0.102 345.9)

  11. Step 950

    950

    #3C182D

    oklch(27.1% 0.064 346.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF3B83 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)#485C850.185
Deuteranopia (no green cones)#6A6F800.163
Tritanopia (no blue cones)#BB395A0.069
Achromatopsia (no color)#6868680.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3B83

    #AF3B83

    oklch(54% 0.169 346)

  • #00835F

    #00835F

    oklch(54.1% 0.113 165.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3B83

    #AF3B83

    oklch(54% 0.169 346)

  • #9448AF

    #9448AF

    oklch(54% 0.169 316.3)

  • #BC374C

    #BC374C

    oklch(54% 0.169 16)

Open the analogous palette in the generator

Split complementary

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

  • #AF3B83

    #AF3B83

    oklch(54% 0.169 346)

  • #3D8200

    #3D8200

    oklch(54% 0.161 136.1)

  • #007F80

    #007F80

    oklch(54% 0.092 195.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3B83

    #AF3B83

    oklch(54% 0.169 346)

  • #787200

    #787200

    oklch(54% 0.115 106)

  • #007A9C

    #007A9C

    oklch(54% 0.103 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3B83

    #AF3B83

    oklch(54% 0.169 346)

  • #946400

    #946400

    oklch(54.1% 0.114 76)

  • #00835F

    #00835F

    oklch(54.1% 0.113 165.6)

  • #196CCE

    #196CCE

    oklch(54% 0.17 256.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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