#512E27

Closest named color: Onyx (#343A40). oklch(34.3% 0.053 32.1), rgb(81, 46, 39).

Aa

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

About this color

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

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

Values

HEX#512E27
RGBrgb(81, 46, 39)
HSLhsl(10, 35%, 24%)
OKLCHoklch(34.3% 0.053 32.1)

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 #512E27 11.86:1 AAA Lc -100.6 Preferred for body text
Black text on #512E27 1.76:1 Fails Lc 0.0 Not readable
#512E27 text on white 11.86:1 AAA Lc 97.0 Preferred for body text
#512E27 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

    #F1E7E5

    oklch(93.5% 0.011 31.1)

  3. Step 200

    200

    #E7D4D0

    oklch(88.4% 0.022 31.8)

  4. Step 300

    300

    #D9B8B1

    oklch(80.9% 0.039 32)

  5. Step 400

    400

    #C59288

    oklch(70.6% 0.064 31.3)

  6. Step 500

    500

    #B6776A

    oklch(63.2% 0.082 32.2)

  7. Step 600

    600

    #A15F52

    oklch(55.7% 0.089 32)

  8. Step 700

    700

    #894E42

    oklch(49% 0.082 32.4)

  9. Step 800

    800

    #704037

    oklch(42.7% 0.069 31.5)

  10. Step 900

    900 (this color)

    #512E27

    oklch(34.3% 0.053 32.1)

  11. Step 950

    950

    #35201C

    oklch(26.9% 0.034 31.2)

Export this scale for Tailwind in the Tailwind colors tool

#512E27 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)#3633260.054
Deuteranopia (no green cones)#3F3A270.048
Tritanopia (no blue cones)#58292C0.022
Achromatopsia (no color)#3737370.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #512E27

    #512E27

    oklch(34.3% 0.053 32.1)

  • #0D4049

    #0D4049

    oklch(34.3% 0.053 212.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512E27

    #512E27

    oklch(34.3% 0.053 32.1)

  • #502D37

    #502D37

    oklch(34.5% 0.053 1.8)

  • #4D321A

    #4D321A

    oklch(34.4% 0.054 61.1)

Open the analogous palette in the generator

Split complementary

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

  • #512E27

    #512E27

    oklch(34.3% 0.053 32.1)

  • #10423B

    #10423B

    oklch(34.4% 0.053 181.9)

  • #1E3C52

    #1E3C52

    oklch(34.4% 0.053 242.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512E27

    #512E27

    oklch(34.3% 0.053 32.1)

  • #22412B

    #22412B

    oklch(34.4% 0.054 152)

  • #2F3755

    #2F3755

    oklch(34.4% 0.054 271.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512E27

    #512E27

    oklch(34.3% 0.053 32.1)

  • #343D1C

    #343D1C

    oklch(34.3% 0.054 121.8)

  • #0D4049

    #0D4049

    oklch(34.3% 0.053 212.2)

  • #3E3250

    #3E3250

    oklch(34.4% 0.053 302.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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