#AF336D

Closest named color: Light Burgundy (#A8415B). oklch(52.3% 0.168 356), rgb(175, 51, 109).

Aa

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

About this color

#AF336D is a medium-dark, vivid red. In OKLCH its lightness is 52%, its chroma 0.168 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Light Burgundy (#A8415B), ΔE 0.044 away. White text reads best on it, at 5.97:1.

Hue familyReds
Lightnessmedium-dark (52%)
Chromavivid (0.168)
Temperaturewarm
Nearest nameLight Burgundy (#A8415B)
Black text3.51:1
White text5.97:1

Values

HEX#AF336D
RGBrgb(175, 51, 109)
HSLhsl(332, 55%, 44%)
OKLCHoklch(52.3% 0.168 356)

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 #AF336D 5.97:1 AA Lc -84.1 Fine for body text
Black text on #AF336D 3.51:1 AA large text Lc 25.3 Dividers and decoration only
#AF336D text on white 5.97:1 AA Lc 78.8 Fine for body text
#AF336D text on black 3.51:1 AA large text Lc -23.0 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

    #FCF3F6

    oklch(97.2% 0.01 354.9)

  2. Step 100

    100

    #F8E4EA

    oklch(93.7% 0.023 357.4)

  3. Step 200

    200

    #F3CDDA

    oklch(88.4% 0.046 355.5)

  4. Step 300

    300

    #ECABC2

    oklch(80.9% 0.081 356.1)

  5. Step 400

    400

    #DF7CA3

    oklch(70.6% 0.13 355.9)

  6. Step 500

    500

    #D4578D

    oklch(63.2% 0.166 356)

  7. Step 600

    600

    #BF3777

    oklch(55.7% 0.181 355.9)

  8. Step 700

    700 (this color)

    #AF336D

    oklch(52.3% 0.168 356)

  9. Step 800

    800

    #852351

    oklch(42.6% 0.139 356.1)

  10. Step 900

    900

    #6B2343

    oklch(37.6% 0.108 356.1)

  11. Step 950

    950

    #3F1627

    oklch(27% 0.068 356.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF336D 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)#4A556F0.188
Deuteranopia (no green cones)#6C6C6A0.169
Tritanopia (no blue cones)#BD264C0.054
Achromatopsia (no color)#6363630.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF336D

    #AF336D

    oklch(52.3% 0.168 356)

  • #007C68

    #007C68

    oklch(52.4% 0.098 176.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF336D

    #AF336D

    oklch(52.3% 0.168 356)

  • #993E9D

    #993E9D

    oklch(52.4% 0.169 326)

  • #B73432

    #B73432

    oklch(52.4% 0.168 25.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF336D

    #AF336D

    oklch(52.3% 0.168 356)

  • #008026

    #008026

    oklch(52.2% 0.16 145.9)

  • #007883

    #007883

    oklch(52.3% 0.089 206)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF336D

    #AF336D

    oklch(52.3% 0.168 356)

  • #677100

    #677100

    oklch(52.2% 0.119 115.7)

  • #0072A1

    #0072A1

    oklch(52.2% 0.112 236)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF336D

    #AF336D

    oklch(52.3% 0.168 356)

  • #856400

    #856400

    oklch(52.2% 0.107 85.9)

  • #007C68

    #007C68

    oklch(52.4% 0.098 176.2)

  • #3B61C9

    #3B61C9

    oklch(52.3% 0.168 265.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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