#AF2E75

Closest named color: Medium Violet Red (#C71585). oklch(52.2% 0.177 351.4), rgb(175, 46, 117).

Aa

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

About this color

#AF2E75 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.177 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.055 away. White text reads best on it, at 6.05:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.177)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.47:1
White text6.05:1

Values

HEX#AF2E75
RGBrgb(175, 46, 117)
HSLhsl(327, 58%, 43%)
OKLCHoklch(52.2% 0.177 351.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 #AF2E75 6.05:1 AA Lc -84.3 Fine for body text
Black text on #AF2E75 3.47:1 AA large text Lc 25.0 Dividers and decoration only
#AF2E75 text on white 6.05:1 AA Lc 79.1 Fine for body text
#AF2E75 text on black 3.47:1 AA large text Lc -22.7 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 700.

  1. Step 50

    50

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E3EC

    oklch(93.5% 0.026 349.8)

  3. Step 200

    200

    #F3CDDD

    oklch(88.5% 0.047 350.9)

  4. Step 300

    300

    #ECAAC7

    oklch(80.8% 0.085 351.1)

  5. Step 400

    400

    #E07AAA

    oklch(70.7% 0.137 351.6)

  6. Step 500

    500

    #D45396

    oklch(63% 0.176 351.1)

  7. Step 600

    600

    #BF3280

    oklch(55.6% 0.191 351.3)

  8. Step 700

    700 (this color)

    #AF2E75

    oklch(52.2% 0.177 351.4)

  9. Step 800

    800

    #862058

    oklch(42.8% 0.147 351.6)

  10. Step 900

    900

    #6C2149

    oklch(37.7% 0.115 351.1)

  11. Step 950

    950

    #40152A

    oklch(27.1% 0.072 352.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF2E75 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)#4454770.198
Deuteranopia (no green cones)#696B720.176
Tritanopia (no blue cones)#BC254D0.065
Achromatopsia (no color)#6363630.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2E75

    #AF2E75

    oklch(52.2% 0.177 351.4)

  • #007C62

    #007C62

    oklch(52.2% 0.102 171.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2E75

    #AF2E75

    oklch(52.2% 0.177 351.4)

  • #963CA5

    #963CA5

    oklch(52.2% 0.178 321.7)

  • #BA2C39

    #BA2C39

    oklch(52.2% 0.178 21.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF2E75

    #AF2E75

    oklch(52.2% 0.177 351.4)

  • #168000

    #168000

    oklch(52.2% 0.173 141.4)

  • #00787F

    #00787F

    oklch(52.1% 0.089 201.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2E75

    #AF2E75

    oklch(52.2% 0.177 351.4)

  • #6C6F00

    #6C6F00

    oklch(52.2% 0.115 111.6)

  • #00739B

    #00739B

    oklch(52.1% 0.106 231.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2E75

    #AF2E75

    oklch(52.2% 0.177 351.4)

  • #886200

    #886200

    oklch(52.2% 0.108 82)

  • #007C62

    #007C62

    oklch(52.2% 0.102 171.4)

  • #2862CD

    #2862CD

    oklch(52.1% 0.177 261.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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