#512E2A

Closest named color: Onyx (#343A40). oklch(34.4% 0.052 27.1), rgb(81, 46, 42).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (34%)
Chromamuted (0.052)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.77:1
White text11.83:1

Values

HEX#512E2A
RGBrgb(81, 46, 42)
HSLhsl(6, 32%, 24%)
OKLCHoklch(34.4% 0.052 27.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 #512E2A 11.83:1 AAA Lc -100.6 Preferred for body text
Black text on #512E2A 1.77:1 Fails Lc 0.0 Not readable
#512E2A text on white 11.83:1 AAA Lc 97.0 Preferred for body text
#512E2A text on black 1.77: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

    #F1E7E6

    oklch(93.6% 0.011 24.3)

  3. Step 200

    200

    #E7D4D1

    oklch(88.5% 0.022 28.3)

  4. Step 300

    300

    #D9B8B3

    oklch(81% 0.039 28.1)

  5. Step 400

    400

    #C5928B

    oklch(70.7% 0.063 27.6)

  6. Step 500

    500

    #B5776F

    oklch(63.2% 0.08 27.6)

  7. Step 600

    600

    #A05F57

    oklch(55.6% 0.086 27.7)

  8. Step 700

    700

    #894E47

    oklch(49.1% 0.081 27.6)

  9. Step 800

    800

    #6F403B

    oklch(42.7% 0.067 26.7)

  10. Step 900

    900 (this color)

    #512E2A

    oklch(34.4% 0.052 27.1)

  11. Step 950

    950

    #35201E

    oklch(27% 0.033 25.5)

Export this scale for Tailwind in the Tailwind colors tool

#512E2A 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)#36332A0.053
Deuteranopia (no green cones)#3E3A290.050
Tritanopia (no blue cones)#58292D0.021
Achromatopsia (no color)#3737370.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #512E2A

    #512E2A

    oklch(34.4% 0.052 27.1)

  • #0E4147

    #0E4147

    oklch(34.6% 0.052 206.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512E2A

    #512E2A

    oklch(34.4% 0.052 27.1)

  • #4F2D39

    #4F2D39

    oklch(34.4% 0.053 357.6)

  • #4E321D

    #4E321D

    oklch(34.5% 0.052 56.8)

Open the analogous palette in the generator

Split complementary

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

  • #512E2A

    #512E2A

    oklch(34.4% 0.052 27.1)

  • #144238

    #144238

    oklch(34.5% 0.053 176)

  • #1B3D51

    #1B3D51

    oklch(34.4% 0.053 236.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512E2A

    #512E2A

    oklch(34.4% 0.052 27.1)

  • #264029

    #264029

    oklch(34.3% 0.051 147.1)

  • #2D3854

    #2D3854

    oklch(34.4% 0.052 267.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512E2A

    #512E2A

    oklch(34.4% 0.052 27.1)

  • #373D1B

    #373D1B

    oklch(34.5% 0.054 117.6)

  • #0E4147

    #0E4147

    oklch(34.6% 0.052 206.6)

  • #3C3351

    #3C3351

    oklch(34.4% 0.053 297.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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