#AF796E

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

Aa

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

About this color

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

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

Values

HEX#AF796E
RGBrgb(175, 121, 110)
HSLhsl(10, 29%, 56%)
OKLCHoklch(62.8% 0.07 31.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 #AF796E 3.63:1 AA large text Lc -69.3 Content text, not long reading
Black text on #AF796E 5.78:1 AA Lc 40.3 Non-text elements, placeholder text
#AF796E text on white 3.63:1 AA large text Lc 63.8 Content text, not long reading
#AF796E 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

    #E5D5D1

    oklch(88.5% 0.019 34.3)

  4. Step 300

    300

    #D6B9B3

    oklch(80.9% 0.035 31.6)

  5. Step 400

    400

    #C0958B

    oklch(70.7% 0.054 33.4)

  6. Step 500

    500 (this color)

    #AF796E

    oklch(62.8% 0.07 31.9)

  7. Step 600

    600

    #9B6257

    oklch(55.6% 0.077 31.5)

  8. Step 700

    700

    #845147

    oklch(49% 0.071 31.8)

  9. Step 800

    800

    #6C433B

    oklch(42.8% 0.059 31.6)

  10. Step 900

    900

    #573832

    oklch(37.5% 0.046 31.4)

  11. Step 950

    950

    #33211E

    oklch(26.9% 0.029 29.6)

Export this scale for Tailwind in the Tailwind colors tool

#AF796E 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)#85806D0.069
Deuteranopia (no green cones)#928A6D0.063
Tritanopia (no blue cones)#BB72760.031
Achromatopsia (no color)#8686860.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF796E

    #AF796E

    oklch(62.8% 0.07 31.9)

  • #5294A1

    #5294A1

    oklch(62.8% 0.07 211.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF796E

    #AF796E

    oklch(62.8% 0.07 31.9)

  • #AD7785

    #AD7785

    oklch(62.8% 0.07 2.3)

  • #A87F5C

    #A87F5C

    oklch(62.8% 0.071 61.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF796E

    #AF796E

    oklch(62.8% 0.07 31.9)

  • #54978C

    #54978C

    oklch(62.9% 0.071 182.2)

  • #628EB0

    #628EB0

    oklch(62.8% 0.071 242.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF796E

    #AF796E

    oklch(62.8% 0.07 31.9)

  • #689574

    #689574

    oklch(62.8% 0.07 152.4)

  • #7986B4

    #7986B4

    oklch(62.7% 0.071 272)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF796E

    #AF796E

    oklch(62.8% 0.07 31.9)

  • #81905F

    #81905F

    oklch(62.9% 0.072 122.3)

  • #5294A1

    #5294A1

    oklch(62.8% 0.07 211.8)

  • #907FAD

    #907FAD

    oklch(62.9% 0.07 301.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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