#AF2886

Closest named color: Medium Violet Red (#C71585). oklch(52.4% 0.193 343.3), rgb(175, 40, 134).

Aa

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

About this color

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

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

Values

HEX#AF2886
RGBrgb(175, 40, 134)
HSLhsl(318, 63%, 42%)
OKLCHoklch(52.4% 0.193 343.3)

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 #AF2886 6.05:1 AA Lc -84.2 Fine for body text
Black text on #AF2886 3.47:1 AA large text Lc 25.2 Dividers and decoration only
#AF2886 text on white 6.05:1 AA Lc 78.9 Fine for body text
#AF2886 text on black 3.47: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 600.

  1. Step 50

    50

    #FCF2F7

    oklch(97% 0.013 345.5)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE1

    oklch(88.5% 0.048 343.6)

  4. Step 300

    300

    #E9AACF

    oklch(80.8% 0.088 343.2)

  5. Step 400

    400

    #DB7BB7

    oklch(70.7% 0.139 343.1)

  6. Step 500

    500

    #CF55A5

    oklch(63.1% 0.178 343.2)

  7. Step 600

    600 (this color)

    #AF2886

    oklch(52.4% 0.193 343.3)

  8. Step 700

    700

    #A0257A

    oklch(49.1% 0.179 343.5)

  9. Step 800

    800

    #822164

    oklch(42.7% 0.15 343)

  10. Step 900

    900

    #692251

    oklch(37.7% 0.116 343.5)

  11. Step 950

    950

    #3E1530

    oklch(27.1% 0.074 342.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF2886 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)#3754880.216
Deuteranopia (no green cones)#626B830.187
Tritanopia (no blue cones)#BB28540.085
Achromatopsia (no color)#6363630.195

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2886

    #AF2886

    oklch(52.4% 0.193 343.3)

  • #007E57

    #007E57

    oklch(52.5% 0.113 163)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2886

    #AF2886

    oklch(52.4% 0.193 343.3)

  • #903BB7

    #903BB7

    oklch(52.4% 0.194 313.2)

  • #BF1D48

    #BF1D48

    oklch(52.4% 0.193 13.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF2886

    #AF2886

    oklch(52.4% 0.193 343.3)

  • #447B00

    #447B00

    oklch(52.4% 0.149 133.5)

  • #007A78

    #007A78

    oklch(52.4% 0.09 192.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2886

    #AF2886

    oklch(52.4% 0.193 343.3)

  • #766C00

    #766C00

    oklch(52.4% 0.11 103.1)

  • #007693

    #007693

    oklch(52.5% 0.098 222.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2886

    #AF2886

    oklch(52.4% 0.193 343.3)

  • #905E00

    #905E00

    oklch(52.4% 0.111 73.2)

  • #007E57

    #007E57

    oklch(52.5% 0.113 163)

  • #0069C4

    #0069C4

    oklch(52.3% 0.163 253.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AF2886.

Similar named colors

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

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