#AF3C7F

Closest named color: Medium Violet Red (#C71585). oklch(53.9% 0.165 348.1), rgb(175, 60, 127).

Aa

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

About this color

#AF3C7F is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.165 and its hue 348°. 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.56:1.

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

Values

HEX#AF3C7F
RGBrgb(175, 60, 127)
HSLhsl(325, 49%, 46%)
OKLCHoklch(53.9% 0.165 348.1)

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

    #FBF3F6

    oklch(97.1% 0.009 352.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

    #E6AEC9

    oklch(81% 0.074 348.4)

  5. Step 400

    400

    #D781AD

    oklch(70.8% 0.119 348.5)

  6. Step 500

    500

    #C95E99

    oklch(63% 0.151 348.1)

  7. Step 600

    600 (this color)

    #AF3C7F

    oklch(53.9% 0.165 348.1)

  8. Step 700

    700

    #9B3270

    oklch(49.1% 0.154 347.8)

  9. Step 800

    800

    #7E2B5B

    oklch(42.7% 0.127 348.1)

  10. Step 900

    900

    #66284B

    oklch(37.8% 0.099 347.9)

  11. Step 950

    950

    #3C182C

    oklch(27% 0.063 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF3C7F 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)#4A5B810.182
Deuteranopia (no green cones)#6B707C0.163
Tritanopia (no blue cones)#BB38580.064
Achromatopsia (no color)#6868680.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3C7F

    #AF3C7F

    oklch(53.9% 0.165 348.1)

  • #008262

    #008262

    oklch(53.9% 0.109 168)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3C7F

    #AF3C7F

    oklch(53.9% 0.165 348.1)

  • #9548AB

    #9548AB

    oklch(53.9% 0.165 318.2)

  • #BB3949

    #BB3949

    oklch(53.9% 0.166 17.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF3C7F

    #AF3C7F

    oklch(53.9% 0.165 348.1)

  • #348304

    #348304

    oklch(53.9% 0.165 138.1)

  • #007E82

    #007E82

    oklch(53.9% 0.092 198.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3C7F

    #AF3C7F

    oklch(53.9% 0.165 348.1)

  • #757300

    #757300

    oklch(54% 0.117 108.5)

  • #00799E

    #00799E

    oklch(53.8% 0.105 228.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3C7F

    #AF3C7F

    oklch(53.9% 0.165 348.1)

  • #926500

    #926500

    oklch(54% 0.113 78.1)

  • #008262

    #008262

    oklch(53.9% 0.109 168)

  • #276BCC

    #276BCC

    oklch(53.9% 0.165 258.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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