#512D25

Closest named color: Onyx (#343A40). oklch(34.1% 0.055 33.4), rgb(81, 45, 37).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (34%)
Chromamuted (0.055)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.75:1
White text11.98:1

Values

HEX#512D25
RGBrgb(81, 45, 37)
HSLhsl(11, 37%, 23%)
OKLCHoklch(34.1% 0.055 33.4)

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 #512D25 11.98:1 AAA Lc -100.8 Preferred for body text
Black text on #512D25 1.75:1 Fails Lc 0.0 Not readable
#512D25 text on white 11.98:1 AAA Lc 97.3 Preferred for body text
#512D25 text on black 1.75: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

    #F2E7E5

    oklch(93.6% 0.012 29.9)

  3. Step 200

    200

    #E8D4CF

    oklch(88.5% 0.023 34.3)

  4. Step 300

    300

    #DAB8AF

    oklch(81% 0.041 35.2)

  5. Step 400

    400

    #C69286

    oklch(70.7% 0.066 33.4)

  6. Step 500

    500

    #B77668

    oklch(63.1% 0.085 32.8)

  7. Step 600

    600

    #A25E4F

    oklch(55.6% 0.093 33.3)

  8. Step 700

    700

    #8B4D40

    oklch(49.1% 0.087 32.8)

  9. Step 800

    800

    #714035

    oklch(42.8% 0.071 33.5)

  10. Step 900

    900 (this color)

    #512D25

    oklch(34.1% 0.055 33.4)

  11. Step 950

    950

    #36201B

    oklch(27% 0.036 33.4)

Export this scale for Tailwind in the Tailwind colors tool

#512D25 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)#3632240.054
Deuteranopia (no green cones)#3E39250.050
Tritanopia (no blue cones)#58272B0.025
Achromatopsia (no color)#3737370.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #512D25

    #512D25

    oklch(34.1% 0.055 33.4)

  • #093F49

    #093F49

    oklch(34% 0.055 213.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512D25

    #512D25

    oklch(34.1% 0.055 33.4)

  • #502B35

    #502B35

    oklch(34% 0.056 3.1)

  • #4C3117

    #4C3117

    oklch(33.9% 0.055 63)

Open the analogous palette in the generator

Split complementary

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

  • #512D25

    #512D25

    oklch(34.1% 0.055 33.4)

  • #0B413B

    #0B413B

    oklch(34% 0.055 183.9)

  • #1C3B53

    #1C3B53

    oklch(34% 0.056 243.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512D25

    #512D25

    oklch(34.1% 0.055 33.4)

  • #1F402A

    #1F402A

    oklch(33.9% 0.055 153.3)

  • #2F3655

    #2F3655

    oklch(34.1% 0.055 273.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512D25

    #512D25

    oklch(34.1% 0.055 33.4)

  • #323D1B

    #323D1B

    oklch(34.1% 0.056 124.1)

  • #093F49

    #093F49

    oklch(34% 0.055 213.6)

  • #3E3150

    #3E3150

    oklch(34.1% 0.055 302.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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