#512504

Closest named color: Chocolate Brown (#411900). oklch(32% 0.078 51.8), rgb(81, 37, 4).

Aa

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

About this color

#512504 is a dark, moderately saturated brown. In OKLCH its lightness is 32%, its chroma 0.078 and its hue 52°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.051 away. White text reads best on it, at 12.99:1.

Hue familyBrowns
Lightnessdark (32%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.61:1
White text12.99:1

Values

HEX#512504
RGBrgb(81, 37, 4)
HSLhsl(26, 91%, 17%)
OKLCHoklch(32% 0.078 51.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 #512504 12.99:1 AAA Lc -102.2 Preferred for body text
Black text on #512504 1.61:1 Fails Lc 0.0 Not readable
#512504 text on white 12.99:1 AAA Lc 98.8 Preferred for body text
#512504 text on black 1.61: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 950.

  1. Step 50

    50

    #FDF3EE

    oklch(97.1% 0.013 48.6)

  2. Step 100

    100

    #F9E5DA

    oklch(93.5% 0.027 50.9)

  3. Step 200

    200

    #F6D0BB

    oklch(88.4% 0.051 50.6)

  4. Step 300

    300

    #F1B089

    oklch(80.9% 0.093 52)

  5. Step 400

    400

    #E7823E

    oklch(70.6% 0.148 51.7)

  6. Step 500

    500

    #D36600

    oklch(63% 0.163 51.6)

  7. Step 600

    600

    #B25500

    oklch(55.5% 0.143 51.6)

  8. Step 700

    700

    #974700

    oklch(49.2% 0.127 51.6)

  9. Step 800

    800

    #7C3900

    oklch(42.6% 0.11 51.5)

  10. Step 900

    900

    #682F00

    oklch(37.6% 0.097 51.8)

  11. Step 950

    950 (this color)

    #512504

    oklch(32% 0.078 51.8)

Export this scale for Tailwind in the Tailwind colors tool

#512504 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)#322B000.067
Deuteranopia (no green cones)#3C35030.061
Tritanopia (no blue cones)#5A1B1F0.048
Achromatopsia (no color)#3131310.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #512504

    #512504

    oklch(32% 0.078 51.8)

  • #00384E

    #00384E

    oklch(32% 0.065 231.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512504

    #512504

    oklch(32% 0.078 51.8)

  • #542020

    #542020

    oklch(32.1% 0.078 22.5)

  • #442F00

    #442F00

    oklch(32.1% 0.066 81.6)

Open the analogous palette in the generator

Split complementary

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

  • #512504

    #512504

    oklch(32% 0.078 51.8)

  • #003B3F

    #003B3F

    oklch(32.1% 0.055 202.3)

  • #1C315A

    #1C315A

    oklch(31.9% 0.078 262.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512504

    #512504

    oklch(32% 0.078 51.8)

  • #003D2F

    #003D2F

    oklch(32.1% 0.062 171.6)

  • #342A57

    #342A57

    oklch(32% 0.078 291.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512504

    #512504

    oklch(32% 0.078 51.8)

  • #183C14

    #183C14

    oklch(31.9% 0.078 141.7)

  • #00384E

    #00384E

    oklch(32% 0.065 231.8)

  • #45244A

    #45244A

    oklch(32.1% 0.077 322.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #512504 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.