#AF2471

Closest named color: Red Violet (#9E0168). oklch(51.2% 0.186 352.3), rgb(175, 36, 113).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.186)
Temperaturewarm
Nearest nameRed Violet (#9E0168)
Black text3.31:1
White text6.33:1

Values

HEX#AF2471
RGBrgb(175, 36, 113)
HSLhsl(327, 66%, 41%)
OKLCHoklch(51.2% 0.186 352.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 #AF2471 6.33:1 AA Lc -85.3 Fine for body text
Black text on #AF2471 3.31:1 AA large text Lc 23.9 Dividers and decoration only
#AF2471 text on white 6.33:1 AA Lc 80.1 Fine for body text
#AF2471 text on black 3.31:1 AA large text Lc -21.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

    #F9E3EB

    oklch(93.6% 0.026 353.5)

  3. Step 200

    200

    #F5CCDC

    oklch(88.5% 0.05 352.8)

  4. Step 300

    300

    #EFA9C6

    oklch(81% 0.09 352.7)

  5. Step 400

    400

    #E378A9

    oklch(70.7% 0.143 352.5)

  6. Step 500

    500

    #D84F94

    oklch(63.1% 0.184 352.5)

  7. Step 600

    600

    #C32B7F

    oklch(55.6% 0.2 352.2)

  8. Step 700

    700 (this color)

    #AF2471

    oklch(51.2% 0.186 352.3)

  9. Step 800

    800

    #881B57

    oklch(42.7% 0.153 352.3)

  10. Step 900

    900

    #6E1E48

    oklch(37.7% 0.121 352.2)

  11. Step 950

    950

    #41132A

    oklch(27% 0.077 352.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF2471 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)#3F50730.210
Deuteranopia (no green cones)#67686E0.184
Tritanopia (no blue cones)#BD14480.067
Achromatopsia (no color)#5F5F5F0.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF2471

    #AF2471

    oklch(51.2% 0.186 352.3)

  • #007960

    #007960

    oklch(51.3% 0.1 171.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF2471

    #AF2471

    oklch(51.2% 0.186 352.3)

  • #9535A4

    #9535A4

    oklch(51.2% 0.186 322)

  • #BA2131

    #BA2131

    oklch(51.3% 0.186 22.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF2471

    #AF2471

    oklch(51.2% 0.186 352.3)

  • #047D00

    #047D00

    oklch(51.1% 0.173 142.3)

  • #00757C

    #00757C

    oklch(51.2% 0.087 202.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF2471

    #AF2471

    oklch(51.2% 0.186 352.3)

  • #686C00

    #686C00

    oklch(51.1% 0.113 112.3)

  • #007098

    #007098

    oklch(51.2% 0.105 232.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF2471

    #AF2471

    oklch(51.2% 0.186 352.3)

  • #846000

    #846000

    oklch(51.3% 0.105 82.9)

  • #007960

    #007960

    oklch(51.3% 0.1 171.7)

  • #255DCF

    #255DCF

    oklch(51.1% 0.186 262.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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