#512811

Closest named color: Chocolate Brown (#411900). oklch(32.7% 0.07 47.8), rgb(81, 40, 17).

Aa

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

About this color

#512811 is a dark, moderately saturated brown. In OKLCH its lightness is 33%, its chroma 0.070 and its hue 48°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.058 away. White text reads best on it, at 12.63:1.

Hue familyBrowns
Lightnessdark (33%)
Chromamoderately saturated (0.070)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.66:1
White text12.63:1

Values

HEX#512811
RGBrgb(81, 40, 17)
HSLhsl(22, 65%, 19%)
OKLCHoklch(32.7% 0.07 47.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 #512811 12.63:1 AAA Lc -101.7 Preferred for body text
Black text on #512811 1.66:1 Fails Lc 0.0 Not readable
#512811 text on white 12.63:1 AAA Lc 98.3 Preferred for body text
#512811 text on black 1.66:1 Fails Lc 0.0 Not readable

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

  1. Step 50

    50

    #FAF4F1

    oklch(97.1% 0.008 48.7)

  2. Step 100

    100

    #F3E7E1

    oklch(93.6% 0.015 48.6)

  3. Step 200

    200

    #EAD4C9

    oklch(88.5% 0.029 48.4)

  4. Step 300

    300

    #DEB7A4

    oklch(80.9% 0.052 47.4)

  5. Step 400

    400

    #CC9172

    oklch(70.7% 0.084 48.6)

  6. Step 500

    500

    #BE744D

    oklch(63.1% 0.108 47.8)

  7. Step 600

    600

    #A95B30

    oklch(55.5% 0.117 47.7)

  8. Step 700

    700

    #914B23

    oklch(49.1% 0.108 48)

  9. Step 800

    800

    #763E1E

    oklch(42.8% 0.09 48.4)

  10. Step 900

    900 (this color)

    #512811

    oklch(32.7% 0.07 47.8)

  11. Step 950

    950

    #381F12

    oklch(26.9% 0.045 47.6)

Export this scale for Tailwind in the Tailwind colors tool

#512811 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)#332D0E0.063
Deuteranopia (no green cones)#3D37100.058
Tritanopia (no blue cones)#5920230.040
Achromatopsia (no color)#3333330.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #512811

    #512811

    oklch(32.7% 0.07 47.8)

  • #003B4E

    #003B4E

    oklch(32.9% 0.063 226.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512811

    #512811

    oklch(32.7% 0.07 47.8)

  • #532427

    #532427

    oklch(32.8% 0.07 17.8)

  • #482F00

    #482F00

    oklch(32.7% 0.068 76.8)

Open the analogous palette in the generator

Split complementary

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

  • #512811

    #512811

    oklch(32.7% 0.07 47.8)

  • #003D3F

    #003D3F

    oklch(32.7% 0.056 198.4)

  • #1C3558

    #1C3558

    oklch(32.8% 0.07 257.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512811

    #512811

    oklch(32.7% 0.07 47.8)

  • #003F2E

    #003F2E

    oklch(32.7% 0.066 168.2)

  • #332E56

    #332E56

    oklch(32.7% 0.07 287.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512811

    #512811

    oklch(32.7% 0.07 47.8)

  • #223D17

    #223D17

    oklch(32.8% 0.07 137.5)

  • #003B4E

    #003B4E

    oklch(32.9% 0.063 226.9)

  • #43284C

    #43284C

    oklch(32.7% 0.07 317.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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