#AF387D

Closest named color: Medium Violet Red (#C71585). oklch(53.4% 0.169 348.6), rgb(175, 56, 125).

Aa

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

About this color

#AF387D is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.169 and its hue 349°. 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.69:1.

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

Values

HEX#AF387D
RGBrgb(175, 56, 125)
HSLhsl(325, 52%, 45%)
OKLCHoklch(53.4% 0.169 348.6)

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 #AF387D 5.69:1 AA Lc -82.9 Fine for body text
Black text on #AF387D 3.68:1 AA large text Lc 26.5 Dividers and decoration only
#AF387D text on white 5.69:1 AA Lc 77.6 Fine for body text
#AF387D text on black 3.68:1 AA large text Lc -24.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

    #F6E4EC

    oklch(93.6% 0.022 348.8)

  3. Step 200

    200

    #F0CEDE

    oklch(88.5% 0.043 348)

  4. Step 300

    300

    #E7ADC9

    oklch(80.9% 0.077 348.4)

  5. Step 400

    400

    #D880AD

    oklch(70.7% 0.121 348.7)

  6. Step 500

    500

    #CB5C99

    oklch(63% 0.156 348.4)

  7. Step 600

    600 (this color)

    #AF387D

    oklch(53.4% 0.169 348.6)

  8. Step 700

    700

    #9D306F

    oklch(49.2% 0.158 348.9)

  9. Step 800

    800

    #7F295B

    oklch(42.6% 0.131 348.2)

  10. Step 900

    900

    #67274A

    oklch(37.7% 0.101 349.1)

  11. Step 950

    950

    #3C182C

    oklch(27% 0.063 347.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF387D 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)#48597F0.187
Deuteranopia (no green cones)#6A6E7A0.166
Tritanopia (no blue cones)#BB33550.066
Achromatopsia (no color)#6666660.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF387D

    #AF387D

    oklch(53.4% 0.169 348.6)

  • #008062

    #008062

    oklch(53.3% 0.107 169.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF387D

    #AF387D

    oklch(53.4% 0.169 348.6)

  • #9545AA

    #9545AA

    oklch(53.5% 0.169 318.8)

  • #BB3545

    #BB3545

    oklch(53.5% 0.17 18.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF387D

    #AF387D

    oklch(53.4% 0.169 348.6)

  • #2F8200

    #2F8200

    oklch(53.4% 0.167 138.7)

  • #007D81

    #007D81

    oklch(53.5% 0.091 198.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF387D

    #AF387D

    oklch(53.4% 0.169 348.6)

  • #737100

    #737100

    oklch(53.3% 0.115 108.5)

  • #00789D

    #00789D

    oklch(53.5% 0.105 228.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF387D

    #AF387D

    oklch(53.4% 0.169 348.6)

  • #8F6400

    #8F6400

    oklch(53.4% 0.111 79.2)

  • #008062

    #008062

    oklch(53.3% 0.107 169.1)

  • #2569CD

    #2569CD

    oklch(53.5% 0.169 258.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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