#512202

Closest named color: Chocolate Brown (#411900). oklch(31.5% 0.082 49.3), rgb(81, 34, 2).

Aa

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

About this color

#512202 is a dark, moderately saturated brown. In OKLCH its lightness is 31%, its chroma 0.082 and its hue 49°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.046 away. White text reads best on it, at 13.29:1.

Hue familyBrowns
Lightnessdark (31%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.57:1
White text13.29:1

Values

HEX#512202
RGBrgb(81, 34, 2)
HSLhsl(24, 95%, 16%)
OKLCHoklch(31.5% 0.082 49.3)

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 #512202 13.29:1 AAA Lc -102.5 Preferred for body text
Black text on #512202 1.57:1 Fails Lc 0.0 Not readable
#512202 text on white 13.29:1 AAA Lc 99.2 Preferred for body text
#512202 text on black 1.57: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

    #FAE5DA

    oklch(93.6% 0.027 49.6)

  3. Step 200

    200

    #F8D0BA

    oklch(88.6% 0.054 50.5)

  4. Step 300

    300

    #F4AE89

    oklch(80.9% 0.096 48.8)

  5. Step 400

    400

    #EB7F3D

    oklch(70.6% 0.154 49.3)

  6. Step 500

    500

    #D76300

    oklch(63.2% 0.169 49.3)

  7. Step 600

    600

    #B55200

    oklch(55.5% 0.149 49.2)

  8. Step 700

    700

    #994500

    oklch(49.2% 0.131 49.6)

  9. Step 800

    800

    #7E3700

    oklch(42.6% 0.114 49.2)

  10. Step 900

    900

    #6A2D00

    oklch(37.6% 0.101 49.1)

  11. Step 950

    950 (this color)

    #512202

    oklch(31.5% 0.082 49.3)

Export this scale for Tailwind in the Tailwind colors tool

#512202 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)#3029000.072
Deuteranopia (no green cones)#3B34010.066
Tritanopia (no blue cones)#5A171C0.047
Achromatopsia (no color)#2F2F2F0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #512202

    #512202

    oklch(31.5% 0.082 49.3)

  • #00374B

    #00374B

    oklch(31.5% 0.063 229.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512202

    #512202

    oklch(31.5% 0.082 49.3)

  • #531D20

    #531D20

    oklch(31.4% 0.081 19.7)

  • #432D00

    #432D00

    oklch(31.5% 0.065 79.5)

Open the analogous palette in the generator

Split complementary

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

  • #512202

    #512202

    oklch(31.5% 0.082 49.3)

  • #00393C

    #00393C

    oklch(31.3% 0.053 200.6)

  • #16305A

    #16305A

    oklch(31.3% 0.082 259.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512202

    #512202

    oklch(31.5% 0.082 49.3)

  • #003B2C

    #003B2C

    oklch(31.3% 0.062 169.7)

  • #312958

    #312958

    oklch(31.6% 0.082 288.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512202

    #512202

    oklch(31.5% 0.082 49.3)

  • #183B0E

    #183B0E

    oklch(31.5% 0.082 139.5)

  • #00374B

    #00374B

    oklch(31.5% 0.063 229.7)

  • #43224B

    #43224B

    oklch(31.5% 0.081 319.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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