#AF3A80

Closest named color: Medium Violet Red (#C71585). oklch(53.8% 0.168 347.4), rgb(175, 58, 128).

Aa

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

About this color

#AF3A80 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.168 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.056 away. White text reads best on it, at 5.61:1.

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

Values

HEX#AF3A80
RGBrgb(175, 58, 128)
HSLhsl(324, 50%, 46%)
OKLCHoklch(53.8% 0.168 347.4)

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 #AF3A80 5.61:1 AA Lc -82.5 Fine for body text
Black text on #AF3A80 3.73:1 AA large text Lc 26.9 Dividers and decoration only
#AF3A80 text on white 5.61:1 AA Lc 77.2 Fine for body text
#AF3A80 text on black 3.73:1 AA large text Lc -24.6 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

    #EFCEDE

    oklch(88.4% 0.042 347.2)

  4. Step 300

    300

    #E6ADCA

    oklch(80.9% 0.076 347)

  5. Step 400

    400

    #D780AF

    oklch(70.7% 0.121 347.1)

  6. Step 500

    500

    #CA5D9B

    oklch(63.1% 0.155 347.2)

  7. Step 600

    600 (this color)

    #AF3A80

    oklch(53.8% 0.168 347.4)

  8. Step 700

    700

    #9C3171

    oklch(49.2% 0.157 347.5)

  9. Step 800

    800

    #7E2A5C

    oklch(42.6% 0.129 347.2)

  10. Step 900

    900

    #66274B

    oklch(37.6% 0.101 347.7)

  11. Step 950

    950

    #3C182C

    oklch(27% 0.063 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF3A80 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)#485B820.186
Deuteranopia (no green cones)#6A6F7D0.165
Tritanopia (no blue cones)#BB37580.066
Achromatopsia (no color)#6767670.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3A80

    #AF3A80

    oklch(53.8% 0.168 347.4)

  • #008261

    #008261

    oklch(53.8% 0.11 167.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3A80

    #AF3A80

    oklch(53.8% 0.168 347.4)

  • #9447AD

    #9447AD

    oklch(53.8% 0.169 317.1)

  • #BB3749

    #BB3749

    oklch(53.7% 0.168 17.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF3A80

    #AF3A80

    oklch(53.8% 0.168 347.4)

  • #378200

    #378200

    oklch(53.7% 0.164 137.3)

  • #007E81

    #007E81

    oklch(53.8% 0.092 197.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3A80

    #AF3A80

    oklch(53.8% 0.168 347.4)

  • #767200

    #767200

    oklch(53.8% 0.116 107.3)

  • #00799D

    #00799D

    oklch(53.8% 0.104 227.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3A80

    #AF3A80

    oklch(53.8% 0.168 347.4)

  • #926400

    #926400

    oklch(53.8% 0.112 77.3)

  • #008261

    #008261

    oklch(53.8% 0.11 167.4)

  • #216BCD

    #216BCD

    oklch(53.8% 0.168 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 #AF3A80, closest first.

Similar named colors

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

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