#AF5840

Closest named color: Sienna (#A0522D). oklch(56.1% 0.12 36.4), rgb(175, 88, 64).

Aa

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

About this color

#AF5840 is a medium-dark, moderately saturated red. In OKLCH its lightness is 56%, its chroma 0.120 and its hue 36°. Its hue sits on the warm side of the wheel. The nearest named color is Sienna (#A0522D), ΔE 0.038 away. White text reads best on it, at 4.89:1.

Hue familyReds
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameSienna (#A0522D)
Black text4.29:1
White text4.89:1

Values

HEX#AF5840
RGBrgb(175, 88, 64)
HSLhsl(13, 46%, 47%)
OKLCHoklch(56.1% 0.12 36.4)

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 #AF5840 4.89:1 AA Lc -78.9 Fine for body text
Black text on #AF5840 4.29:1 AA large text Lc 30.6 Non-text elements, placeholder text
#AF5840 text on white 4.89:1 AA Lc 73.5 Content text, not long reading
#AF5840 text on black 4.29:1 AA large text Lc -28.2 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

    #FAF4F2

    oklch(97.1% 0.007 39.5)

  2. Step 100

    100

    #F4E6E3

    oklch(93.5% 0.016 32)

  3. Step 200

    200

    #ECD3CC

    oklch(88.6% 0.03 36.2)

  4. Step 300

    300

    #E1B5A9

    oklch(80.9% 0.054 35.7)

  5. Step 400

    400

    #D08E7B

    oklch(70.8% 0.086 36.7)

  6. Step 500

    500

    #C27059

    oklch(63.1% 0.11 36.5)

  7. Step 600

    600 (this color)

    #AF5840

    oklch(56.1% 0.12 36.4)

  8. Step 700

    700

    #954631

    oklch(49.1% 0.112 35.9)

  9. Step 800

    800

    #793A29

    oklch(42.7% 0.093 36.1)

  10. Step 900

    900

    #623325

    oklch(37.8% 0.072 37.4)

  11. Step 950

    950

    #391E16

    oklch(26.9% 0.045 37.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF5840 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)#6F653E0.116
Deuteranopia (no green cones)#84783E0.108
Tritanopia (no blue cones)#BF48520.054
Achromatopsia (no color)#7171710.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5840

    #AF5840

    oklch(56.1% 0.12 36.4)

  • #00839A

    #00839A

    oklch(56.2% 0.1 215.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5840

    #AF5840

    oklch(56.1% 0.12 36.4)

  • #AE5369

    #AE5369

    oklch(56.1% 0.121 6.5)

  • #A3640F

    #A3640F

    oklch(56% 0.12 66.2)

Open the analogous palette in the generator

Split complementary

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

  • #AF5840

    #AF5840

    oklch(56.1% 0.12 36.4)

  • #00877E

    #00877E

    oklch(56.1% 0.098 186.6)

  • #2D7AB6

    #2D7AB6

    oklch(56.1% 0.119 246)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5840

    #AF5840

    oklch(56.1% 0.12 36.4)

  • #268957

    #268957

    oklch(56.1% 0.119 156.5)

  • #636DBA

    #636DBA

    oklch(56.2% 0.119 276.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5840

    #AF5840

    oklch(56.1% 0.12 36.4)

  • #638129

    #638129

    oklch(56.1% 0.12 126.2)

  • #00839A

    #00839A

    oklch(56.2% 0.1 215.8)

  • #8760AC

    #8760AC

    oklch(56.1% 0.121 306.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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