#AF165E

Closest named color: Violet Red (#A50055). oklch(49.7% 0.189 359.9), rgb(175, 22, 94).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (50%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameViolet Red (#A50055)
Black text3.09:1
White text6.77:1

Values

HEX#AF165E
RGBrgb(175, 22, 94)
HSLhsl(332, 78%, 39%)
OKLCHoklch(49.7% 0.189 359.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 #AF165E 6.77:1 AA Lc -86.7 Fine for body text
Black text on #AF165E 3.09:1 AA large text Lc 22.5 Dividers and decoration only
#AF165E text on white 6.77:1 AA Lc 81.5 Fine for body text
#AF165E text on black 3.09:1 AA large text Lc -20.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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3E9

    oklch(93.6% 0.026 359.9)

  3. Step 200

    200

    #F7CCD8

    oklch(88.6% 0.051 359.6)

  4. Step 300

    300

    #F2A8BE

    oklch(80.9% 0.091 359.9)

  5. Step 400

    400

    #E8769D

    oklch(70.7% 0.146 359.8)

  6. Step 500

    500

    #DE4C85

    oklch(63.2% 0.187 360)

  7. Step 600

    600

    #C9256F

    oklch(55.7% 0.204 359.8)

  8. Step 700

    700 (this color)

    #AF165E

    oklch(49.7% 0.189 359.9)

  9. Step 800

    800

    #8D164C

    oklch(42.8% 0.157 359.8)

  10. Step 900

    900

    #711C3F

    oklch(37.7% 0.122 359.9)

  11. Step 950

    950

    #431225

    oklch(27% 0.078 359.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF165E 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)#4049600.215
Deuteranopia (no green cones)#68655B0.191
Tritanopia (no blue cones)#BE00390.061
Achromatopsia (no color)#5B5B5B0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF165E

    #AF165E

    oklch(49.7% 0.189 359.9)

  • #007364

    #007364

    oklch(49.8% 0.091 179.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF165E

    #AF165E

    oklch(49.7% 0.189 359.9)

  • #992994

    #992994

    oklch(49.7% 0.189 329.9)

  • #B51B0E

    #B51B0E

    oklch(49.6% 0.189 29.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF165E

    #AF165E

    oklch(49.7% 0.189 359.9)

  • #007734

    #007734

    oklch(49.7% 0.137 149.9)

  • #006F7D

    #006F7D

    oklch(49.6% 0.086 209.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF165E

    #AF165E

    oklch(49.7% 0.189 359.9)

  • #5A6B00

    #5A6B00

    oklch(49.6% 0.118 120)

  • #00699C

    #00699C

    oklch(49.7% 0.114 240.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF165E

    #AF165E

    oklch(49.7% 0.189 359.9)

  • #795F00

    #795F00

    oklch(49.8% 0.102 90)

  • #007364

    #007364

    oklch(49.8% 0.091 179.5)

  • #3B52CC

    #3B52CC

    oklch(49.6% 0.19 269.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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