#AF3F7F

Closest named color: Light Plum (#9D5783). oklch(54.3% 0.161 348.5), rgb(175, 63, 127).

Aa

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

About this color

#AF3F7F is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.161 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Light Plum (#9D5783), ΔE 0.055 away. White text reads best on it, at 5.46:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.161)
Temperaturewarm
Nearest nameLight Plum (#9D5783)
Black text3.84:1
White text5.46:1

Values

HEX#AF3F7F
RGBrgb(175, 63, 127)
HSLhsl(326, 47%, 47%)
OKLCHoklch(54.3% 0.161 348.5)

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 #AF3F7F 5.46:1 AA Lc -81.8 Fine for body text
Black text on #AF3F7F 3.84:1 AA large text Lc 27.6 Dividers and decoration only
#AF3F7F text on white 5.46:1 AA Lc 76.5 Fine for body text
#AF3F7F text on black 3.84:1 AA large text Lc -25.2 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

    #FBF3F6

    oklch(97.1% 0.009 352.4)

  2. Step 100

    100

    #F5E4EC

    oklch(93.5% 0.021 347.3)

  3. Step 200

    200

    #EFCFDE

    oklch(88.6% 0.041 348)

  4. Step 300

    300

    #E5AEC8

    oklch(80.9% 0.072 348.8)

  5. Step 400

    400

    #D682AD

    oklch(70.8% 0.116 348.4)

  6. Step 500

    500

    #C86098

    oklch(63.1% 0.147 348.6)

  7. Step 600

    600 (this color)

    #AF3F7F

    oklch(54.3% 0.161 348.5)

  8. Step 700

    700

    #9A346F

    oklch(49.1% 0.15 348.3)

  9. Step 800

    800

    #7D2C5A

    oklch(42.6% 0.124 348.5)

  10. Step 900

    900

    #65294A

    oklch(37.7% 0.096 348.5)

  11. Step 950

    950

    #3C192B

    oklch(27.1% 0.061 349.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF3F7F 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)#4D5D810.176
Deuteranopia (no green cones)#6D707C0.157
Tritanopia (no blue cones)#BB3B590.062
Achromatopsia (no color)#6969690.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3F7F

    #AF3F7F

    oklch(54.3% 0.161 348.5)

  • #008364

    #008364

    oklch(54.2% 0.109 168.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3F7F

    #AF3F7F

    oklch(54.3% 0.161 348.5)

  • #954BAA

    #954BAA

    oklch(54.3% 0.16 318.3)

  • #BA3D4A

    #BA3D4A

    oklch(54.2% 0.16 18.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF3F7F

    #AF3F7F

    oklch(54.3% 0.161 348.5)

  • #368412

    #368412

    oklch(54.3% 0.161 138.5)

  • #007F83

    #007F83

    oklch(54.2% 0.092 198.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3F7F

    #AF3F7F

    oklch(54.3% 0.161 348.5)

  • #767400

    #767400

    oklch(54.3% 0.117 108.5)

  • #007AA0

    #007AA0

    oklch(54.2% 0.106 228.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3F7F

    #AF3F7F

    oklch(54.3% 0.161 348.5)

  • #936600

    #936600

    oklch(54.3% 0.113 78.4)

  • #008364

    #008364

    oklch(54.2% 0.109 168.8)

  • #2C6CCB

    #2C6CCB

    oklch(54.2% 0.161 258.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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