#512E2D

Closest named color: Onyx (#343A40). oklch(34.5% 0.052 21.8), rgb(81, 46, 45).

Aa

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

About this color

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

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

Values

HEX#512E2D
RGBrgb(81, 46, 45)
HSLhsl(2, 29%, 25%)
OKLCHoklch(34.5% 0.052 21.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 #512E2D 11.80:1 AAA Lc -100.6 Preferred for body text
Black text on #512E2D 1.77:1 Fails Lc 0.0 Not readable
#512E2D text on white 11.80:1 AAA Lc 96.9 Preferred for body text
#512E2D 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

    #F9F4F4

    oklch(97.1% 0.005 17.2)

  2. Step 100

    100

    #F1E7E6

    oklch(93.6% 0.011 24.3)

  3. Step 200

    200

    #E7D4D3

    oklch(88.5% 0.021 21.2)

  4. Step 300

    300

    #D9B7B5

    oklch(80.8% 0.039 22)

  5. Step 400

    400

    #C5928F

    oklch(70.8% 0.062 22.6)

  6. Step 500

    500

    #B57674

    oklch(63.1% 0.08 21.6)

  7. Step 600

    600

    #A05E5C

    oklch(55.6% 0.087 22.1)

  8. Step 700

    700

    #894D4C

    oklch(49.1% 0.081 21.5)

  9. Step 800

    800

    #6F403E

    oklch(42.7% 0.066 22.8)

  10. Step 900

    900 (this color)

    #512E2D

    oklch(34.5% 0.052 21.8)

  11. Step 950

    950

    #35201F

    oklch(27% 0.033 22.5)

Export this scale for Tailwind in the Tailwind colors tool

#512E2D 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)#35332D0.055
Deuteranopia (no green cones)#3E3A2C0.050
Tritanopia (no blue cones)#582A2E0.017
Achromatopsia (no color)#3838380.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #512E2D

    #512E2D

    oklch(34.5% 0.052 21.8)

  • #0E4145

    #0E4145

    oklch(34.5% 0.052 202.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512E2D

    #512E2D

    oklch(34.5% 0.052 21.8)

  • #4E2E3C

    #4E2E3C

    oklch(34.6% 0.051 352.3)

  • #4F311F

    #4F311F

    oklch(34.5% 0.053 51.2)

Open the analogous palette in the generator

Split complementary

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

  • #512E2D

    #512E2D

    oklch(34.5% 0.052 21.8)

  • #184236

    #184236

    oklch(34.5% 0.052 171.6)

  • #193E4F

    #193E4F

    oklch(34.5% 0.051 230.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512E2D

    #512E2D

    oklch(34.5% 0.052 21.8)

  • #294027

    #294027

    oklch(34.5% 0.051 142.5)

  • #2A3954

    #2A3954

    oklch(34.4% 0.052 261.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512E2D

    #512E2D

    oklch(34.5% 0.052 21.8)

  • #3A3C1A

    #3A3C1A

    oklch(34.5% 0.052 111.8)

  • #0E4145

    #0E4145

    oklch(34.5% 0.052 202.8)

  • #3A3452

    #3A3452

    oklch(34.5% 0.052 292.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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