#512A03

Closest named color: Chocolate Brown (#411900). oklch(33% 0.075 58.9), rgb(81, 42, 3).

Aa

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

About this color

#512A03 is a dark, moderately saturated brown. In OKLCH its lightness is 33%, its chroma 0.075 and its hue 59°. 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.48:1.

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

Values

HEX#512A03
RGBrgb(81, 42, 3)
HSLhsl(30, 93%, 16%)
OKLCHoklch(33% 0.075 58.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 #512A03 12.48:1 AAA Lc -101.5 Preferred for body text
Black text on #512A03 1.68:1 Fails Lc 0.0 Not readable
#512A03 text on white 12.48:1 AAA Lc 98.0 Preferred for body text
#512A03 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

    #F3E7DF

    oklch(93.5% 0.017 56.2)

  3. Step 200

    200

    #EAD5C5

    oklch(88.6% 0.032 59.7)

  4. Step 300

    300

    #DDB89D

    oklch(80.8% 0.056 58)

  5. Step 400

    400

    #CB9366

    oklch(70.7% 0.091 59.4)

  6. Step 500

    500

    #BC773B

    oklch(63.1% 0.115 59.3)

  7. Step 600

    600

    #A85E11

    oklch(55.6% 0.126 59)

  8. Step 700

    700

    #904D00

    oklch(49.1% 0.117 58.7)

  9. Step 800

    800

    #753F08

    oklch(42.6% 0.097 58.3)

  10. Step 900

    900 (this color)

    #512A03

    oklch(33% 0.075 58.9)

  11. Step 950

    950

    #38200C

    oklch(27% 0.049 58.3)

Export this scale for Tailwind in the Tailwind colors tool

#512A03 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)#362E000.057
Deuteranopia (no green cones)#3F37030.051
Tritanopia (no blue cones)#5A21230.053
Achromatopsia (no color)#3434340.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #512A03

    #512A03

    oklch(33% 0.075 58.9)

  • #003A57

    #003A57

    oklch(33.1% 0.074 238.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512A03

    #512A03

    oklch(33% 0.075 58.9)

  • #56241E

    #56241E

    oklch(33% 0.076 28.8)

  • #433300

    #433300

    oklch(33% 0.067 89.4)

Open the analogous palette in the generator

Split complementary

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

  • #512A03

    #512A03

    oklch(33% 0.075 58.9)

  • #003D45

    #003D45

    oklch(33% 0.057 209.2)

  • #25325C

    #25325C

    oklch(32.9% 0.076 269)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512A03

    #512A03

    oklch(33% 0.075 58.9)

  • #003F36

    #003F36

    oklch(32.9% 0.06 179.5)

  • #3B2B56

    #3B2B56

    oklch(32.9% 0.076 299.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512A03

    #512A03

    oklch(33% 0.075 58.9)

  • #13401E

    #13401E

    oklch(33.1% 0.077 148.6)

  • #003A57

    #003A57

    oklch(33.1% 0.074 238.4)

  • #4A2648

    #4A2648

    oklch(33% 0.075 329.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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