#AF0971

Closest named color: Red Violet (#9E0168). oklch(49.9% 0.203 350.9), rgb(175, 9, 113).

Aa

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

About this color

#AF0971 is a medium-dark, vivid red. In OKLCH its lightness is 50%, its chroma 0.203 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Red Violet (#9E0168), ΔE 0.039 away. White text reads best on it, at 6.77:1.

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.203)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.10:1
White text6.77:1

Values

HEX#AF0971
RGBrgb(175, 9, 113)
HSLhsl(322, 90%, 36%)
OKLCHoklch(49.9% 0.203 350.9)

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 #AF0971 6.77:1 AA Lc -86.3 Fine for body text
Black text on #AF0971 3.10:1 AA large text Lc 22.8 Dividers and decoration only
#AF0971 text on white 6.77:1 AA Lc 81.2 Fine for body text
#AF0971 text on black 3.10:1 AA large text Lc -20.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

    #FDF2F6

    oklch(97.1% 0.013 353.1)

  2. Step 100

    100

    #FAE3EC

    oklch(93.7% 0.028 352)

  3. Step 200

    200

    #F7CBDE

    oklch(88.5% 0.055 350.5)

  4. Step 300

    300

    #F2A6C8

    oklch(80.8% 0.099 351.1)

  5. Step 400

    400

    #E873AD

    oklch(70.8% 0.158 350.9)

  6. Step 500

    500

    #DD4798

    oklch(63.1% 0.201 351.1)

  7. Step 600

    600

    #C81A83

    oklch(55.6% 0.219 350.9)

  8. Step 700

    700 (this color)

    #AF0971

    oklch(49.9% 0.203 350.9)

  9. Step 800

    800

    #8C0E5A

    oklch(42.7% 0.168 351)

  10. Step 900

    900

    #71184A

    oklch(37.7% 0.132 351.1)

  11. Step 950

    950

    #42112B

    oklch(27% 0.082 351.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF0971 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)#344A730.232
Deuteranopia (no green cones)#62656E0.201
Tritanopia (no blue cones)#BD00420.080
Achromatopsia (no color)#5B5B5B0.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF0971

    #AF0971

    oklch(49.9% 0.203 350.9)

  • #00745B

    #00745B

    oklch(49.8% 0.097 171)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF0971

    #AF0971

    oklch(49.9% 0.203 350.9)

  • #9328A7

    #9328A7

    oklch(49.9% 0.203 320.7)

  • #BA002C

    #BA002C

    oklch(49.9% 0.201 20.8)

Open the analogous palette in the generator

Split complementary

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

  • #AF0971

    #AF0971

    oklch(49.9% 0.203 350.9)

  • #1A7800

    #1A7800

    oklch(50% 0.164 140.9)

  • #007177

    #007177

    oklch(49.9% 0.085 201.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF0971

    #AF0971

    oklch(49.9% 0.203 350.9)

  • #666800

    #666800

    oklch(49.9% 0.11 111.1)

  • #006C91

    #006C91

    oklch(49.8% 0.1 230.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF0971

    #AF0971

    oklch(49.9% 0.203 350.9)

  • #815B00

    #815B00

    oklch(49.8% 0.103 80.3)

  • #00745B

    #00745B

    oklch(49.8% 0.097 171)

  • #0C57D4

    #0C57D4

    oklch(49.8% 0.204 261)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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