#AF3581

Closest named color: Medium Violet Red (#C71585). oklch(53.3% 0.176 346.4), rgb(175, 53, 129).

Aa

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

About this color

#AF3581 is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.176 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.052 away. White text reads best on it, at 5.75:1.

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.176)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.64:1
White text5.75:1

Values

HEX#AF3581
RGBrgb(175, 53, 129)
HSLhsl(323, 54%, 45%)
OKLCHoklch(53.3% 0.176 346.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 #AF3581 5.75:1 AA Lc -83.1 Fine for body text
Black text on #AF3581 3.64:1 AA large text Lc 26.3 Dividers and decoration only
#AF3581 text on white 5.75:1 AA Lc 77.8 Fine for body text
#AF3581 text on black 3.64:1 AA large text Lc -24.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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #F0CEDF

    oklch(88.5% 0.044 346.4)

  4. Step 300

    300

    #E7ACCB

    oklch(80.8% 0.079 346.2)

  5. Step 400

    400

    #D97FB1

    oklch(70.8% 0.126 346.4)

  6. Step 500

    500

    #CC5B9D

    oklch(63.2% 0.161 346.6)

  7. Step 600

    600 (this color)

    #AF3581

    oklch(53.3% 0.176 346.4)

  8. Step 700

    700

    #9D2E73

    oklch(49.1% 0.163 346.5)

  9. Step 800

    800

    #80285E

    oklch(42.8% 0.135 346.5)

  10. Step 900

    900

    #67264D

    oklch(37.7% 0.105 346.3)

  11. Step 950

    950

    #3D172D

    oklch(27.1% 0.067 346.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF3581 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)#4459830.194
Deuteranopia (no green cones)#686D7E0.170
Tritanopia (no blue cones)#BB32560.071
Achromatopsia (no color)#6666660.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF3581

    #AF3581

    oklch(53.3% 0.176 346.4)

  • #00805E

    #00805E

    oklch(53.2% 0.11 166.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF3581

    #AF3581

    oklch(53.3% 0.176 346.4)

  • #9343AF

    #9343AF

    oklch(53.2% 0.176 316.3)

  • #BC3048

    #BC3048

    oklch(53.2% 0.176 16.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF3581

    #AF3581

    oklch(53.3% 0.176 346.4)

  • #3B8000

    #3B8000

    oklch(53.3% 0.16 136.3)

  • #007C7E

    #007C7E

    oklch(53.2% 0.091 196.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF3581

    #AF3581

    oklch(53.3% 0.176 346.4)

  • #757000

    #757000

    oklch(53.2% 0.114 106.6)

  • #00789A

    #00789A

    oklch(53.4% 0.102 226.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF3581

    #AF3581

    oklch(53.3% 0.176 346.4)

  • #916200

    #916200

    oklch(53.3% 0.112 76.1)

  • #00805E

    #00805E

    oklch(53.2% 0.11 166.4)

  • #1169CF

    #1169CF

    oklch(53.3% 0.176 256.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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