#512E22

Closest named color: Onyx (#343A40). oklch(34.2% 0.056 39.6), rgb(81, 46, 34).

Aa

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

About this color

#512E22 is a dark, muted red. In OKLCH its lightness is 34%, its chroma 0.056 and its hue 40°. Its hue sits on the warm side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.068 away. White text reads best on it, at 11.90:1.

Hue familyReds
Lightnessdark (34%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.76:1
White text11.90:1

Values

HEX#512E22
RGBrgb(81, 46, 34)
HSLhsl(15, 41%, 23%)
OKLCHoklch(34.2% 0.056 39.6)

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 #512E22 11.90:1 AAA Lc -100.7 Preferred for body text
Black text on #512E22 1.76:1 Fails Lc 0.0 Not readable
#512E22 text on white 11.90:1 AAA Lc 97.1 Preferred for body text
#512E22 text on black 1.76: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

    #F9F4F3

    oklch(97.1% 0.006 31.1)

  2. Step 100

    100

    #F2E7E4

    oklch(93.6% 0.013 35.7)

  3. Step 200

    200

    #E8D4CE

    oklch(88.5% 0.024 37.4)

  4. Step 300

    300

    #DAB8AD

    oklch(80.9% 0.042 38.7)

  5. Step 400

    400

    #C69382

    oklch(70.8% 0.067 39.2)

  6. Step 500

    500

    #B67762

    oklch(63% 0.086 39.2)

  7. Step 600

    600

    #A15F49

    oklch(55.5% 0.093 39.2)

  8. Step 700

    700

    #8A4F3A

    oklch(49.2% 0.086 40.2)

  9. Step 800

    800

    #704130

    oklch(42.8% 0.071 40.5)

  10. Step 900

    900 (this color)

    #512E22

    oklch(34.2% 0.056 39.6)

  11. Step 950

    950

    #352019

    oklch(26.8% 0.035 39.2)

Export this scale for Tailwind in the Tailwind colors tool

#512E22 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)#3732210.052
Deuteranopia (no green cones)#3F3A220.048
Tritanopia (no blue cones)#58282B0.028
Achromatopsia (no color)#3737370.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #512E22

    #512E22

    oklch(34.2% 0.056 39.6)

  • #0C3F4C

    #0C3F4C

    oklch(34.2% 0.056 219.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512E22

    #512E22

    oklch(34.2% 0.056 39.6)

  • #512C32

    #512C32

    oklch(34.3% 0.055 10)

  • #4B3315

    #4B3315

    oklch(34.2% 0.056 70)

Open the analogous palette in the generator

Split complementary

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

  • #512E22

    #512E22

    oklch(34.2% 0.056 39.6)

  • #07423F

    #07423F

    oklch(34.4% 0.056 189.5)

  • #213A54

    #213A54

    oklch(34.1% 0.056 250.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512E22

    #512E22

    oklch(34.2% 0.056 39.6)

  • #1B412E

    #1B412E

    oklch(34.1% 0.055 159.6)

  • #333555

    #333555

    oklch(34.2% 0.056 280.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512E22

    #512E22

    oklch(34.2% 0.056 39.6)

  • #2F3E1E

    #2F3E1E

    oklch(34.2% 0.055 129.5)

  • #0C3F4C

    #0C3F4C

    oklch(34.2% 0.056 219.2)

  • #41304E

    #41304E

    oklch(34.2% 0.056 309.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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