#512C07

Closest named color: Chocolate Brown (#411900). oklch(33.4% 0.072 59.8), rgb(81, 44, 7).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (33%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.71:1
White text12.25:1

Values

HEX#512C07
RGBrgb(81, 44, 7)
HSLhsl(30, 84%, 17%)
OKLCHoklch(33.4% 0.072 59.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 #512C07 12.25:1 AAA Lc -101.2 Preferred for body text
Black text on #512C07 1.71:1 Fails Lc 0.0 Not readable
#512C07 text on white 12.25:1 AAA Lc 97.7 Preferred for body text
#512C07 text on black 1.71: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

    #F2E8E0

    oklch(93.7% 0.015 61.3)

  3. Step 200

    200

    #E9D5C6

    oklch(88.5% 0.03 59.3)

  4. Step 300

    300

    #DCB99E

    oklch(80.9% 0.055 59.5)

  5. Step 400

    400

    #C99469

    oklch(70.8% 0.086 59.8)

  6. Step 500

    500

    #BA783E

    oklch(63.1% 0.111 59.9)

  7. Step 600

    600

    #A65F19

    oklch(55.6% 0.121 59.1)

  8. Step 700

    700

    #8E4E08

    oklch(49.1% 0.113 59.2)

  9. Step 800

    800

    #73410D

    oklch(42.7% 0.093 60.3)

  10. Step 900

    900 (this color)

    #512C07

    oklch(33.4% 0.072 59.8)

  11. Step 950

    950

    #37210E

    oklch(27.1% 0.046 59.8)

Export this scale for Tailwind in the Tailwind colors tool

#512C07 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)#3730020.054
Deuteranopia (no green cones)#4038070.047
Tritanopia (no blue cones)#5924250.050
Achromatopsia (no color)#3535350.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #512C07

    #512C07

    oklch(33.4% 0.072 59.8)

  • #063B58

    #063B58

    oklch(33.6% 0.072 239.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512C07

    #512C07

    oklch(33.4% 0.072 59.8)

  • #56261F

    #56261F

    oklch(33.4% 0.073 29.9)

  • #443400

    #443400

    oklch(33.3% 0.068 89.7)

Open the analogous palette in the generator

Split complementary

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

  • #512C07

    #512C07

    oklch(33.4% 0.072 59.8)

  • #003E47

    #003E47

    oklch(33.4% 0.058 210.8)

  • #28345C

    #28345C

    oklch(33.6% 0.072 269.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512C07

    #512C07

    oklch(33.4% 0.072 59.8)

  • #004037

    #004037

    oklch(33.3% 0.061 179.6)

  • #3C2D56

    #3C2D56

    oklch(33.4% 0.072 299.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512C07

    #512C07

    oklch(33.4% 0.072 59.8)

  • #164121

    #164121

    oklch(33.6% 0.073 149.3)

  • #063B58

    #063B58

    oklch(33.6% 0.072 239.6)

  • #4B2848

    #4B2848

    oklch(33.5% 0.071 330.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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