#512A0E

Closest named color: Chocolate Brown (#411900). oklch(33.1% 0.07 53), rgb(81, 42, 14).

Aa

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

About this color

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

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

Values

HEX#512A0E
RGBrgb(81, 42, 14)
HSLhsl(25, 71%, 19%)
OKLCHoklch(33.1% 0.07 53)

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 #512A0E 12.44:1 AAA Lc -101.5 Preferred for body text
Black text on #512A0E 1.68:1 Fails Lc 0.0 Not readable
#512A0E text on white 12.44:1 AAA Lc 98.0 Preferred for body text
#512A0E text on black 1.68: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

    #F9F4F1

    oklch(97% 0.007 53.4)

  2. Step 100

    100

    #F3E7E1

    oklch(93.6% 0.015 48.6)

  3. Step 200

    200

    #EAD4C8

    oklch(88.5% 0.03 50.6)

  4. Step 300

    300

    #DDB8A2

    oklch(80.9% 0.052 52.5)

  5. Step 400

    400

    #CB926F

    oklch(70.7% 0.084 52.5)

  6. Step 500

    500

    #BC7648

    oklch(63.1% 0.107 52.9)

  7. Step 600

    600

    #A75D29

    oklch(55.5% 0.117 52.6)

  8. Step 700

    700

    #8F4D1B

    oklch(49.1% 0.108 53.5)

  9. Step 800

    800

    #743F19

    oklch(42.6% 0.09 53)

  10. Step 900

    900 (this color)

    #512A0E

    oklch(33.1% 0.07 53)

  11. Step 950

    950

    #372011

    oklch(27% 0.044 53)

Export this scale for Tailwind in the Tailwind colors tool

#512A0E 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)#352F0A0.059
Deuteranopia (no green cones)#3F370E0.051
Tritanopia (no blue cones)#5922240.044
Achromatopsia (no color)#3434340.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #512A0E

    #512A0E

    oklch(33.1% 0.07 53)

  • #003B53

    #003B53

    oklch(33.1% 0.068 233)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512A0E

    #512A0E

    oklch(33.1% 0.07 53)

  • #542524

    #542524

    oklch(33% 0.07 22.9)

  • #463200

    #463200

    oklch(33.1% 0.068 84.1)

Open the analogous palette in the generator

Split complementary

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

  • #512A0E

    #512A0E

    oklch(33.1% 0.07 53)

  • #003E42

    #003E42

    oklch(33.1% 0.056 202)

  • #22345A

    #22345A

    oklch(33% 0.072 263.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512A0E

    #512A0E

    oklch(33.1% 0.07 53)

  • #004032

    #004032

    oklch(33.1% 0.064 172.3)

  • #372E56

    #372E56

    oklch(33.1% 0.07 292.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512A0E

    #512A0E

    oklch(33.1% 0.07 53)

  • #1E3F1C

    #1E3F1C

    oklch(33.3% 0.071 142.7)

  • #003B53

    #003B53

    oklch(33.1% 0.068 233)

  • #47284A

    #47284A

    oklch(33.1% 0.07 323.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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