#AF2F76

Closest named color: Medium Violet Red (#C71585). oklch(52.3% 0.177 351), rgb(175, 47, 118).

Aa

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

About this color

#AF2F76 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.054 away. White text reads best on it, at 6.01:1.

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

Values

HEX#AF2F76
RGBrgb(175, 47, 118)
HSLhsl(327, 58%, 44%)
OKLCHoklch(52.3% 0.177 351)

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 #AF2F76 6.01:1 AA Lc -84.2 Fine for body text
Black text on #AF2F76 3.49:1 AA large text Lc 25.1 Dividers and decoration only
#AF2F76 text on white 6.01:1 AA Lc 78.9 Fine for body text
#AF2F76 text on black 3.49:1 AA large text Lc -22.9 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

    #E07AAB

    oklch(70.7% 0.138 351)

  6. Step 500

    500

    #D45496

    oklch(63.2% 0.175 351.2)

  7. Step 600

    600

    #BF3381

    oklch(55.7% 0.19 351)

  8. Step 700

    700 (this color)

    #AF2F76

    oklch(52.3% 0.177 351)

  9. Step 800

    800

    #852059

    oklch(42.6% 0.147 350.6)

  10. Step 900

    900

    #6C2149

    oklch(37.7% 0.115 351.1)

  11. Step 950

    950

    #3F152B

    oklch(27% 0.072 350.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF2F76 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)#4454780.198
Deuteranopia (no green cones)#696B730.174
Tritanopia (no blue cones)#BC264E0.065
Achromatopsia (no color)#6363630.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2F76

    #AF2F76

    oklch(52.3% 0.177 351)

  • #007C62

    #007C62

    oklch(52.2% 0.102 171.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2F76

    #AF2F76

    oklch(52.3% 0.177 351)

  • #953DA6

    #953DA6

    oklch(52.2% 0.177 320.8)

  • #BA2D3A

    #BA2D3A

    oklch(52.3% 0.177 21.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF2F76

    #AF2F76

    oklch(52.3% 0.177 351)

  • #1B8000

    #1B8000

    oklch(52.3% 0.172 141)

  • #00797F

    #00797F

    oklch(52.4% 0.089 200.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2F76

    #AF2F76

    oklch(52.3% 0.177 351)

  • #6D6F00

    #6D6F00

    oklch(52.2% 0.115 111)

  • #00749B

    #00749B

    oklch(52.4% 0.105 230.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2F76

    #AF2F76

    oklch(52.3% 0.177 351)

  • #896200

    #896200

    oklch(52.3% 0.108 81.3)

  • #007C62

    #007C62

    oklch(52.2% 0.102 171.4)

  • #2763CD

    #2763CD

    oklch(52.3% 0.176 260.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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