#AB5212

Closest named color: Cinnamon (#AC4F06). oklch(54% 0.136 49.7), rgb(171, 82, 18).

Aa

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

About this color

#AB5212 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 54%, its chroma 0.136 and its hue 50°. Its hue sits on the warm side of the wheel. The nearest named color is Cinnamon (#AC4F06), ΔE 0.007 away. White text reads best on it, at 5.32:1.

Hue familyBrowns
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.136)
Temperaturewarm
Nearest nameCinnamon (#AC4F06)
Black text3.94:1
White text5.32:1

Values

HEX#AB5212
RGBrgb(171, 82, 18)
HSLhsl(25, 81%, 37%)
OKLCHoklch(54% 0.136 49.7)

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 #AB5212 5.32:1 AA Lc -81.2 Fine for body text
Black text on #AB5212 3.94:1 AA large text Lc 28.2 Dividers and decoration only
#AB5212 text on white 5.32:1 AA Lc 75.9 Fine for body text
#AB5212 text on black 3.94:1 AA large text Lc -25.8 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

    #FAF4F1

    oklch(97.1% 0.008 48.7)

  2. Step 100

    100

    #F4E7E0

    oklch(93.6% 0.017 50.4)

  3. Step 200

    200

    #EDD3C6

    oklch(88.5% 0.034 48.3)

  4. Step 300

    300

    #E2B69E

    oklch(80.9% 0.061 50.1)

  5. Step 400

    400

    #D28E69

    oklch(70.7% 0.097 49.2)

  6. Step 500

    500

    #C5703E

    oklch(63.1% 0.125 49.4)

  7. Step 600

    600 (this color)

    #AB5212

    oklch(54% 0.136 49.7)

  8. Step 700

    700

    #974609

    oklch(49% 0.126 49.5)

  9. Step 800

    800

    #7B3A0E

    oklch(42.7% 0.105 49.3)

  10. Step 900

    900

    #633315

    oklch(37.7% 0.081 50)

  11. Step 950

    950

    #3A1E0E

    oklch(26.9% 0.051 49.1)

Export this scale for Tailwind in the Tailwind colors tool

#AB5212 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)#6C5F020.120
Deuteranopia (no green cones)#81730F0.109
Tritanopia (no blue cones)#BC3E460.078
Achromatopsia (no color)#6B6B6B0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB5212

    #AB5212

    oklch(54% 0.136 49.7)

  • #0079A1

    #0079A1

    oklch(54% 0.108 230.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB5212

    #AB5212

    oklch(54% 0.136 49.7)

  • #B0484E

    #B0484E

    oklch(54.1% 0.136 19.4)

  • #916600

    #916600

    oklch(54.1% 0.112 79.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB5212

    #AB5212

    oklch(54% 0.136 49.7)

  • #007F84

    #007F84

    oklch(54.2% 0.092 199.6)

  • #3C6DBC

    #3C6DBC

    oklch(54% 0.135 259.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB5212

    #AB5212

    oklch(54% 0.136 49.7)

  • #008265

    #008265

    oklch(54% 0.107 170.1)

  • #6F5EB7

    #6F5EB7

    oklch(54% 0.135 289.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB5212

    #AB5212

    oklch(54% 0.136 49.7)

  • #3F812E

    #3F812E

    oklch(54.1% 0.135 139.7)

  • #0079A1

    #0079A1

    oklch(54% 0.108 230.3)

  • #90519F

    #90519F

    oklch(53.9% 0.135 319.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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