#AF2B72

Closest named color: Medium Violet Red (#C71585). oklch(51.8% 0.179 352.5), rgb(175, 43, 114).

Aa

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

About this color

#AF2B72 is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.179 and its hue 352°. 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 6.15:1.

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

Values

HEX#AF2B72
RGBrgb(175, 43, 114)
HSLhsl(328, 61%, 43%)
OKLCHoklch(51.8% 0.179 352.5)

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 #AF2B72 6.15:1 AA Lc -84.7 Fine for body text
Black text on #AF2B72 3.41:1 AA large text Lc 24.6 Dividers and decoration only
#AF2B72 text on white 6.15:1 AA Lc 79.5 Fine for body text
#AF2B72 text on black 3.41:1 AA large text Lc -22.3 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

    #F8E3EB

    oklch(93.5% 0.025 352.5)

  3. Step 200

    200

    #F4CDDC

    oklch(88.6% 0.048 353)

  4. Step 300

    300

    #EDAAC6

    oklch(80.9% 0.086 352.4)

  5. Step 400

    400

    #E179A9

    oklch(70.6% 0.14 352.2)

  6. Step 500

    500

    #D65294

    oklch(63.1% 0.178 352.4)

  7. Step 600

    600

    #C1307E

    oklch(55.6% 0.193 352.5)

  8. Step 700

    700 (this color)

    #AF2B72

    oklch(51.8% 0.179 352.5)

  9. Step 800

    800

    #871E57

    oklch(42.7% 0.149 352.3)

  10. Step 900

    900

    #6D2047

    oklch(37.7% 0.116 352.9)

  11. Step 950

    950

    #40142A

    oklch(27% 0.074 352.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF2B72 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)#4352740.201
Deuteranopia (no green cones)#696A6F0.178
Tritanopia (no blue cones)#BD1F4B0.064
Achromatopsia (no color)#6161610.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2B72

    #AF2B72

    oklch(51.8% 0.179 352.5)

  • #007A62

    #007A62

    oklch(51.6% 0.099 172.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2B72

    #AF2B72

    oklch(51.8% 0.179 352.5)

  • #963AA3

    #963AA3

    oklch(51.8% 0.179 322.5)

  • #B92934

    #B92934

    oklch(51.7% 0.179 22.6)

Open the analogous palette in the generator

Split complementary

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

  • #AF2B72

    #AF2B72

    oklch(51.8% 0.179 352.5)

  • #007F00

    #007F00

    oklch(51.7% 0.176 142.5)

  • #00777E

    #00777E

    oklch(51.8% 0.088 202)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2B72

    #AF2B72

    oklch(51.8% 0.179 352.5)

  • #6A6E00

    #6A6E00

    oklch(51.7% 0.115 112.3)

  • #00729B

    #00729B

    oklch(51.9% 0.106 232.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2B72

    #AF2B72

    oklch(51.8% 0.179 352.5)

  • #866100

    #866100

    oklch(51.7% 0.106 82.4)

  • #007A62

    #007A62

    oklch(51.6% 0.099 172.7)

  • #2B60CD

    #2B60CD

    oklch(51.8% 0.179 262.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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