#512A01

Closest named color: Chocolate Brown (#411900). oklch(33% 0.076 59.9), rgb(81, 42, 1).

Aa

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

About this color

#512A01 is a dark, moderately saturated brown. In OKLCH its lightness is 33%, its chroma 0.076 and its hue 60°. 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.076)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.68:1
White text12.48:1

Values

HEX#512A01
RGBrgb(81, 42, 1)
HSLhsl(31, 98%, 16%)
OKLCHoklch(33% 0.076 59.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 #512A01 12.48:1 AAA Lc -101.5 Preferred for body text
Black text on #512A01 1.68:1 Fails Lc 0.0 Not readable
#512A01 text on white 12.48:1 AAA Lc 98.0 Preferred for body text
#512A01 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

    #F9F4F0

    oklch(97% 0.008 61.5)

  2. Step 100

    100

    #F3E8DF

    oklch(93.7% 0.017 62)

  3. Step 200

    200

    #EAD5C5

    oklch(88.6% 0.032 59.7)

  4. Step 300

    300

    #DDB99C

    oklch(81% 0.057 60.7)

  5. Step 400

    400

    #CB9365

    oklch(70.7% 0.092 60)

  6. Step 500

    500

    #BD7738

    oklch(63.2% 0.117 59.9)

  7. Step 600

    600

    #A85E09

    oklch(55.6% 0.127 60)

  8. Step 700

    700

    #8F4E00

    oklch(49.2% 0.115 60)

  9. Step 800

    800

    #754004

    oklch(42.8% 0.098 60.3)

  10. Step 900

    900 (this color)

    #512A01

    oklch(33% 0.076 59.9)

  11. Step 950

    950

    #38200C

    oklch(27% 0.049 58.3)

Export this scale for Tailwind in the Tailwind colors tool

#512A01 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.056
Deuteranopia (no green cones)#3F37010.051
Tritanopia (no blue cones)#5A21230.054
Achromatopsia (no color)#3434340.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #512A01

    #512A01

    oklch(33% 0.076 59.9)

  • #003958

    #003958

    oklch(32.9% 0.076 240.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512A01

    #512A01

    oklch(33% 0.076 59.9)

  • #56241D

    #56241D

    oklch(33% 0.076 29.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°).

  • #512A01

    #512A01

    oklch(33% 0.076 59.9)

  • #003D45

    #003D45

    oklch(33% 0.057 209.2)

  • #26325C

    #26325C

    oklch(32.9% 0.076 269.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512A01

    #512A01

    oklch(33% 0.076 59.9)

  • #003F36

    #003F36

    oklch(32.9% 0.06 179.5)

  • #3C2B56

    #3C2B56

    oklch(33% 0.076 300.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512A01

    #512A01

    oklch(33% 0.076 59.9)

  • #11401F

    #11401F

    oklch(33% 0.076 149.8)

  • #003958

    #003958

    oklch(32.9% 0.076 240.6)

  • #4B2548

    #4B2548

    oklch(33% 0.077 330.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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