#512F2E

Closest named color: Purple Brown (#673A3F). oklch(34.7% 0.05 21.8), rgb(81, 47, 46).

Aa

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

About this color

#512F2E is a dark, muted red. In OKLCH its lightness is 35%, its chroma 0.050 and its hue 22°. 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.69:1.

Hue familyReds
Lightnessdark (35%)
Chromamuted (0.050)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text1.79:1
White text11.69:1

Values

HEX#512F2E
RGBrgb(81, 47, 46)
HSLhsl(2, 28%, 25%)
OKLCHoklch(34.7% 0.05 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 #512F2E 11.69:1 AAA Lc -100.4 Preferred for body text
Black text on #512F2E 1.79:1 Fails Lc 0.0 Not readable
#512F2E text on white 11.69:1 AAA Lc 96.7 Preferred for body text
#512F2E text on black 1.79: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

    #D8B8B6

    oklch(81% 0.037 22.2)

  5. Step 400

    400

    #C49290

    oklch(70.7% 0.061 21.3)

  6. Step 500

    500

    #B47775

    oklch(63.2% 0.077 21.5)

  7. Step 600

    600

    #9F5F5D

    oklch(55.7% 0.084 22)

  8. Step 700

    700

    #874E4D

    oklch(49% 0.077 21.3)

  9. Step 800

    800

    #6E403F

    oklch(42.6% 0.065 21.5)

  10. Step 900

    900 (this color)

    #512F2E

    oklch(34.7% 0.05 21.8)

  11. Step 950

    950

    #35201F

    oklch(27% 0.033 22.5)

Export this scale for Tailwind in the Tailwind colors tool

#512F2E 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)#36342E0.053
Deuteranopia (no green cones)#3E3B2D0.050
Tritanopia (no blue cones)#572B2F0.016
Achromatopsia (no color)#3838380.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #512F2E

    #512F2E

    oklch(34.7% 0.05 21.8)

  • #124145

    #124145

    oklch(34.6% 0.05 203.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512F2E

    #512F2E

    oklch(34.7% 0.05 21.8)

  • #4E2F3D

    #4E2F3D

    oklch(34.8% 0.05 351.4)

  • #4F3221

    #4F3221

    oklch(34.8% 0.05 50.8)

Open the analogous palette in the generator

Split complementary

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

  • #512F2E

    #512F2E

    oklch(34.7% 0.05 21.8)

  • #1A4237

    #1A4237

    oklch(34.7% 0.049 172.8)

  • #1B3E4F

    #1B3E4F

    oklch(34.6% 0.05 231.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512F2E

    #512F2E

    oklch(34.7% 0.05 21.8)

  • #2B4028

    #2B4028

    oklch(34.6% 0.049 141.4)

  • #2B3A54

    #2B3A54

    oklch(34.8% 0.05 261.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512F2E

    #512F2E

    oklch(34.7% 0.05 21.8)

  • #3A3C1C

    #3A3C1C

    oklch(34.6% 0.05 111.9)

  • #124145

    #124145

    oklch(34.6% 0.05 203.2)

  • #3A3552

    #3A3552

    oklch(34.7% 0.05 291.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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