#512E1A

Closest named color: Chocolate Brown (#411900). oklch(34.1% 0.06 49.5), rgb(81, 46, 26).

Aa

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

About this color

#512E1A is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.060 and its hue 49°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.072 away. White text reads best on it, at 11.96:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.75:1
White text11.96:1

Values

HEX#512E1A
RGBrgb(81, 46, 26)
HSLhsl(22, 51%, 21%)
OKLCHoklch(34.1% 0.06 49.5)

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 #512E1A 11.96:1 AAA Lc -100.8 Preferred for body text
Black text on #512E1A 1.75:1 Fails Lc 0.0 Not readable
#512E1A text on white 11.96:1 AAA Lc 97.2 Preferred for body text
#512E1A text on black 1.75: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

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F2E8E2

    oklch(93.7% 0.014 53.3)

  3. Step 200

    200

    #E8D5CB

    oklch(88.6% 0.025 49.7)

  4. Step 300

    300

    #DAB9A7

    oklch(81% 0.046 50.3)

  5. Step 400

    400

    #C69478

    oklch(70.7% 0.072 50.4)

  6. Step 500

    500

    #B77856

    oklch(63.1% 0.093 48.8)

  7. Step 600

    600

    #A2603A

    oklch(55.6% 0.101 49.5)

  8. Step 700

    700

    #8B4F2D

    oklch(49.1% 0.094 48.9)

  9. Step 800

    800

    #714126

    oklch(42.7% 0.078 49)

  10. Step 900

    900 (this color)

    #512E1A

    oklch(34.1% 0.06 49.5)

  11. Step 950

    950

    #362115

    oklch(27.1% 0.039 50.3)

Export this scale for Tailwind in the Tailwind colors tool

#512E1A 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)#3832180.051
Deuteranopia (no green cones)#403A1A0.047
Tritanopia (no blue cones)#5927290.037
Achromatopsia (no color)#3737370.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #512E1A

    #512E1A

    oklch(34.1% 0.06 49.5)

  • #0C3E51

    #0C3E51

    oklch(34.2% 0.06 228.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512E1A

    #512E1A

    oklch(34.1% 0.06 49.5)

  • #532A2B

    #532A2B

    oklch(34% 0.061 19.2)

  • #49340E

    #49340E

    oklch(34.1% 0.06 78.7)

Open the analogous palette in the generator

Split complementary

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

  • #512E1A

    #512E1A

    oklch(34.1% 0.06 49.5)

  • #004144

    #004144

    oklch(34.1% 0.058 200)

  • #253857

    #253857

    oklch(34% 0.06 259.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512E1A

    #512E1A

    oklch(34.1% 0.06 49.5)

  • #0D4233

    #0D4233

    oklch(34.1% 0.06 169.6)

  • #373255

    #373255

    oklch(33.9% 0.061 289.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512E1A

    #512E1A

    oklch(34.1% 0.06 49.5)

  • #274021

    #274021

    oklch(34.2% 0.06 139.7)

  • #0C3E51

    #0C3E51

    oklch(34.2% 0.06 228.6)

  • #462D4C

    #462D4C

    oklch(34% 0.062 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 #512E1A, closest first.

Similar named colors

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

Use #512E1A 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.