#AF796F

Closest named color: Pinkish Brown (#B17261). oklch(62.8% 0.07 30.8), rgb(175, 121, 111).

Aa

Black text reads best on this color (5.78:1).

About this color

#AF796F is a medium-light, muted red. In OKLCH its lightness is 63%, its chroma 0.070 and its hue 31°. Its hue sits on the warm side of the wheel. The nearest named color is Pinkish Brown (#B17261), ΔE 0.021 away. Black text reads best on it, at 5.78:1.

Hue familyReds
Lightnessmedium-light (63%)
Chromamuted (0.070)
Temperaturewarm
Nearest namePinkish Brown (#B17261)
Black text5.78:1
White text3.62:1

Values

HEX#AF796F
RGBrgb(175, 121, 111)
HSLhsl(9, 29%, 56%)
OKLCHoklch(62.8% 0.07 30.8)

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 #AF796F 3.62:1 AA large text Lc -69.3 Content text, not long reading
Black text on #AF796F 5.78:1 AA Lc 40.3 Non-text elements, placeholder text
#AF796F text on white 3.62:1 AA large text Lc 63.8 Content text, not long reading
#AF796F text on black 5.78:1 AA Lc -37.9 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F8F4F3

    oklch(97% 0.005 34.3)

  2. Step 100

    100

    #F0E8E6

    oklch(93.7% 0.009 34.3)

  3. Step 200

    200

    #E5D5D2

    oklch(88.5% 0.018 30.3)

  4. Step 300

    300

    #D6B9B3

    oklch(80.9% 0.035 31.6)

  5. Step 400

    400

    #C0948C

    oklch(70.6% 0.055 30.3)

  6. Step 500

    500 (this color)

    #AF796F

    oklch(62.8% 0.07 30.8)

  7. Step 600

    600

    #9B6258

    oklch(55.6% 0.076 30.5)

  8. Step 700

    700

    #845148

    oklch(49.1% 0.071 30.6)

  9. Step 800

    800

    #6B433B

    oklch(42.7% 0.058 31.9)

  10. Step 900

    900

    #573833

    oklch(37.6% 0.046 29.5)

  11. Step 950

    950

    #33211E

    oklch(26.9% 0.029 29.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF796F 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)#85806E0.069
Deuteranopia (no green cones)#928B6E0.065
Tritanopia (no blue cones)#BB72760.030
Achromatopsia (no color)#8686860.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF796F

    #AF796F

    oklch(62.8% 0.07 30.8)

  • #5294A1

    #5294A1

    oklch(62.8% 0.07 211.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF796F

    #AF796F

    oklch(62.8% 0.07 30.8)

  • #AD7786

    #AD7786

    oklch(62.9% 0.07 1.1)

  • #A87F5D

    #A87F5D

    oklch(62.8% 0.07 60.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF796F

    #AF796F

    oklch(62.8% 0.07 30.8)

  • #55978B

    #55978B

    oklch(62.9% 0.07 180.9)

  • #618EAF

    #618EAF

    oklch(62.7% 0.07 241.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF796F

    #AF796F

    oklch(62.8% 0.07 30.8)

  • #699573

    #699573

    oklch(62.8% 0.07 151)

  • #7987B4

    #7987B4

    oklch(62.9% 0.07 270.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF796F

    #AF796F

    oklch(62.8% 0.07 30.8)

  • #828F5F

    #828F5F

    oklch(62.7% 0.07 120.8)

  • #5294A1

    #5294A1

    oklch(62.8% 0.07 211.8)

  • #8F7FAD

    #8F7FAD

    oklch(62.8% 0.07 300.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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