#512A2B

Closest named color: Onyx (#343A40). oklch(33.7% 0.058 19), rgb(81, 42, 43).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (34%)
Chromamuted (0.058)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.71:1
White text12.23:1

Values

HEX#512A2B
RGBrgb(81, 42, 43)
HSLhsl(358, 32%, 24%)
OKLCHoklch(33.7% 0.058 19)

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 #512A2B 12.23:1 AAA Lc -101.2 Preferred for body text
Black text on #512A2B 1.71:1 Fails Lc 0.0 Not readable
#512A2B text on white 12.23:1 AAA Lc 97.7 Preferred for body text
#512A2B text on black 1.71: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

    #E9D3D3

    oklch(88.5% 0.025 17.6)

  4. Step 300

    300

    #DCB6B5

    oklch(80.9% 0.044 19.9)

  5. Step 400

    400

    #C88F8F

    oklch(70.6% 0.07 19)

  6. Step 500

    500

    #B97374

    oklch(63.1% 0.089 18.9)

  7. Step 600

    600

    #A45B5D

    oklch(55.6% 0.096 18.9)

  8. Step 700

    700

    #8D4A4C

    oklch(49.1% 0.091 19.1)

  9. Step 800

    800

    #723D3F

    oklch(42.6% 0.074 18.3)

  10. Step 900

    900 (this color)

    #512A2B

    oklch(33.7% 0.058 19)

  11. Step 950

    950

    #361F1F

    oklch(26.9% 0.036 19.7)

Export this scale for Tailwind in the Tailwind colors tool

#512A2B 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)#32302B0.062
Deuteranopia (no green cones)#3C382A0.057
Tritanopia (no blue cones)#58252B0.018
Achromatopsia (no color)#3535350.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #512A2B

    #512A2B

    oklch(33.7% 0.058 19)

  • #004042

    #004042

    oklch(33.7% 0.057 198.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512A2B

    #512A2B

    oklch(33.7% 0.058 19)

  • #4D2A3C

    #4D2A3C

    oklch(33.6% 0.058 348.5)

  • #4F2D1B

    #4F2D1B

    oklch(33.6% 0.058 47.9)

Open the analogous palette in the generator

Split complementary

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

  • #512A2B

    #512A2B

    oklch(33.7% 0.058 19)

  • #104132

    #104132

    oklch(33.8% 0.058 168.7)

  • #0E3C4F

    #0E3C4F

    oklch(33.5% 0.058 230.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512A2B

    #512A2B

    oklch(33.7% 0.058 19)

  • #273E20

    #273E20

    oklch(33.6% 0.058 138.7)

  • #243755

    #243755

    oklch(33.6% 0.059 259.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512A2B

    #512A2B

    oklch(33.7% 0.058 19)

  • #393912

    #393912

    oklch(33.5% 0.058 109.1)

  • #004042

    #004042

    oklch(33.7% 0.057 198.3)

  • #363253

    #363253

    oklch(33.7% 0.057 288.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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