#512D2B

Closest named color: Onyx (#343A40). oklch(34.2% 0.054 23.6), rgb(81, 45, 43).

Aa

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

About this color

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

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

Values

HEX#512D2B
RGBrgb(81, 45, 43)
HSLhsl(3, 31%, 24%)
OKLCHoklch(34.2% 0.054 23.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 #512D2B 11.93:1 AAA Lc -100.7 Preferred for body text
Black text on #512D2B 1.76:1 Fails Lc 0.0 Not readable
#512D2B text on white 11.93:1 AAA Lc 97.2 Preferred for body text
#512D2B 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

    #F9F4F4

    oklch(97.1% 0.005 17.2)

  2. Step 100

    100

    #F2E7E6

    oklch(93.6% 0.012 23.7)

  3. Step 200

    200

    #E8D4D2

    oklch(88.6% 0.022 24.5)

  4. Step 300

    300

    #DAB7B4

    oklch(80.9% 0.041 23.8)

  5. Step 400

    400

    #C6918D

    oklch(70.7% 0.065 23.7)

  6. Step 500

    500

    #B67671

    oklch(63.2% 0.082 24.5)

  7. Step 600

    600

    #A15D5A

    oklch(55.5% 0.09 23)

  8. Step 700

    700

    #8A4D4A

    oklch(49.2% 0.083 23.5)

  9. Step 800

    800

    #703F3D

    oklch(42.7% 0.069 22.8)

  10. Step 900

    900 (this color)

    #512D2B

    oklch(34.2% 0.054 23.6)

  11. Step 950

    950

    #35201E

    oklch(27% 0.033 25.5)

Export this scale for Tailwind in the Tailwind colors tool

#512D2B 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)#35322B0.055
Deuteranopia (no green cones)#3D3A2A0.053
Tritanopia (no blue cones)#58282D0.020
Achromatopsia (no color)#3737370.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #512D2B

    #512D2B

    oklch(34.2% 0.054 23.6)

  • #0A4045

    #0A4045

    oklch(34.1% 0.053 204.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512D2B

    #512D2B

    oklch(34.2% 0.054 23.6)

  • #4E2C3B

    #4E2C3B

    oklch(34.1% 0.055 352.4)

  • #4E311D

    #4E311D

    oklch(34.3% 0.053 54.6)

Open the analogous palette in the generator

Split complementary

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

  • #512D2B

    #512D2B

    oklch(34.2% 0.054 23.6)

  • #144236

    #144236

    oklch(34.4% 0.054 172.7)

  • #183D50

    #183D50

    oklch(34.2% 0.054 233.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512D2B

    #512D2B

    oklch(34.2% 0.054 23.6)

  • #274026

    #274026

    oklch(34.3% 0.054 143.4)

  • #2A3855

    #2A3855

    oklch(34.2% 0.055 264)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512D2B

    #512D2B

    oklch(34.2% 0.054 23.6)

  • #383C19

    #383C19

    oklch(34.3% 0.054 114.7)

  • #0A4045

    #0A4045

    oklch(34.1% 0.053 204.4)

  • #3A3352

    #3A3352

    oklch(34.3% 0.054 293.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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