#512E40

Closest named color: Purple Brown (#673A3F). oklch(35.2% 0.058 348.3), rgb(81, 46, 64).

Aa

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

About this color

#512E40 is a dark, muted red. In OKLCH its lightness is 35%, its chroma 0.058 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.060 away. White text reads best on it, at 11.57:1.

Hue familyReds
Lightnessdark (35%)
Chromamuted (0.058)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text1.81:1
White text11.57:1

Values

HEX#512E40
RGBrgb(81, 46, 64)
HSLhsl(329, 28%, 25%)
OKLCHoklch(35.2% 0.058 348.3)

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 #512E40 11.57:1 AAA Lc -100.2 Preferred for body text
Black text on #512E40 1.81:1 Fails Lc 7.4 Not readable
#512E40 text on white 11.57:1 AAA Lc 96.5 Preferred for body text
#512E40 text on black 1.81: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

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F1E7EB

    oklch(93.7% 0.012 351)

  3. Step 200

    200

    #E6D3DC

    oklch(88.5% 0.024 347.2)

  4. Step 300

    300

    #D7B6C5

    oklch(80.9% 0.043 349)

  5. Step 400

    400

    #C28FA8

    oklch(70.7% 0.07 348.1)

  6. Step 500

    500

    #B17393

    oklch(63% 0.088 347.7)

  7. Step 600

    600

    #9C5B7D

    oklch(55.6% 0.096 348)

  8. Step 700

    700

    #854B69

    oklch(49.1% 0.088 348.5)

  9. Step 800

    800

    #6D3D56

    oklch(42.7% 0.075 348.2)

  10. Step 900

    900 (this color)

    #512E40

    oklch(35.2% 0.058 348.3)

  11. Step 950

    950

    #341F29

    oklch(27% 0.036 349.8)

Export this scale for Tailwind in the Tailwind colors tool

#512E40 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)#3135410.061
Deuteranopia (no green cones)#3A3B3F0.056
Tritanopia (no blue cones)#562D340.022
Achromatopsia (no color)#3939390.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #512E40

    #512E40

    oklch(35.2% 0.058 348.3)

  • #164435

    #164435

    oklch(35% 0.057 168.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512E40

    #512E40

    oklch(35.2% 0.058 348.3)

  • #48314E

    #48314E

    oklch(35.2% 0.057 319.2)

  • #552E2F

    #552E2F

    oklch(35.1% 0.057 18.8)

Open the analogous palette in the generator

Split complementary

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

  • #512E40

    #512E40

    oklch(35.2% 0.058 348.3)

  • #2B4224

    #2B4224

    oklch(35.1% 0.058 138.6)

  • #054446

    #054446

    oklch(35.2% 0.058 198.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512E40

    #512E40

    oklch(35.2% 0.058 348.3)

  • #3E3D16

    #3E3D16

    oklch(35.2% 0.058 107.7)

  • #134153

    #134153

    oklch(35.3% 0.058 228)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512E40

    #512E40

    oklch(35.2% 0.058 348.3)

  • #4B3714

    #4B3714

    oklch(35.1% 0.058 78.9)

  • #164435

    #164435

    oklch(35% 0.057 168.3)

  • #283B59

    #283B59

    oklch(35.1% 0.058 259.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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