#AF3175

Closest named color: Medium Violet Red (#C71585). oklch(52.4% 0.174 351.7), rgb(175, 49, 117).

Aa

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

About this color

#AF3175 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.174 and its hue 352°. 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.96:1.

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

Values

HEX#AF3175
RGBrgb(175, 49, 117)
HSLhsl(328, 56%, 44%)
OKLCHoklch(52.4% 0.174 351.7)

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 #AF3175 5.96:1 AA Lc -84.0 Fine for body text
Black text on #AF3175 3.51:1 AA large text Lc 25.3 Dividers and decoration only
#AF3175 text on white 5.96:1 AA Lc 78.7 Fine for body text
#AF3175 text on black 3.51:1 AA large text Lc -23.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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F7E4EB

    oklch(93.6% 0.023 353.2)

  3. Step 200

    200

    #F1CEDC

    oklch(88.5% 0.043 352)

  4. Step 300

    300

    #E9ACC6

    oklch(80.9% 0.079 351.7)

  5. Step 400

    400

    #DB7EA9

    oklch(70.6% 0.125 351.6)

  6. Step 500

    500

    #CF5A94

    oklch(63.1% 0.16 351.8)

  7. Step 600

    600 (this color)

    #AF3175

    oklch(52.4% 0.174 351.7)

  8. Step 700

    700

    #A02D6B

    oklch(49.2% 0.162 351.6)

  9. Step 800

    800

    #822757

    oklch(42.8% 0.134 351.8)

  10. Step 900

    900

    #692548

    oklch(37.7% 0.105 351.4)

  11. Step 950

    950

    #3E172A

    oklch(27.1% 0.066 352)

Export this scale for Tailwind in the Tailwind colors tool

#AF3175 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)#4655770.194
Deuteranopia (no green cones)#6A6C720.173
Tritanopia (no blue cones)#BC284F0.062
Achromatopsia (no color)#6363630.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3175

    #AF3175

    oklch(52.4% 0.174 351.7)

  • #007D63

    #007D63

    oklch(52.5% 0.102 171.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3175

    #AF3175

    oklch(52.4% 0.174 351.7)

  • #963EA5

    #963EA5

    oklch(52.4% 0.175 321.6)

  • #B92F3A

    #B92F3A

    oklch(52.3% 0.174 21.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF3175

    #AF3175

    oklch(52.4% 0.174 351.7)

  • #138102

    #138102

    oklch(52.5% 0.174 141.7)

  • #007980

    #007980

    oklch(52.4% 0.089 201.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3175

    #AF3175

    oklch(52.4% 0.174 351.7)

  • #6D7000

    #6D7000

    oklch(52.5% 0.116 111.6)

  • #00749C

    #00749C

    oklch(52.4% 0.106 231.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3175

    #AF3175

    oklch(52.4% 0.174 351.7)

  • #896300

    #896300

    oklch(52.5% 0.108 82.2)

  • #007D63

    #007D63

    oklch(52.5% 0.102 171.5)

  • #2C63CD

    #2C63CD

    oklch(52.4% 0.175 261.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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