#512C2D

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

Aa

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

About this color

#512C2D is a dark, muted red. In OKLCH its lightness is 34%, its chroma 0.055 and its hue 19°. 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 12.01:1.

Hue familyReds
Lightnessdark (34%)
Chromamuted (0.055)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.74:1
White text12.01:1

Values

HEX#512C2D
RGBrgb(81, 44, 45)
HSLhsl(358, 30%, 25%)
OKLCHoklch(34.1% 0.055 18.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 #512C2D 12.01:1 AAA Lc -100.9 Preferred for body text
Black text on #512C2D 1.74:1 Fails Lc 0.0 Not readable
#512C2D text on white 12.01:1 AAA Lc 97.3 Preferred for body text
#512C2D text on black 1.74: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

    #F2E7E7

    oklch(93.7% 0.012 17.4)

  3. Step 200

    200

    #E8D3D3

    oklch(88.4% 0.023 17.6)

  4. Step 300

    300

    #DAB7B6

    oklch(81% 0.04 20)

  5. Step 400

    400

    #C69091

    oklch(70.6% 0.066 17.6)

  6. Step 500

    500

    #B77476

    oklch(63% 0.085 17.8)

  7. Step 600

    600

    #A25C5E

    oklch(55.6% 0.092 18.6)

  8. Step 700

    700

    #8A4C4E

    oklch(49.1% 0.084 18.5)

  9. Step 800

    800

    #713E40

    oklch(42.7% 0.071 18)

  10. Step 900

    900 (this color)

    #512C2D

    oklch(34.1% 0.055 18.6)

  11. Step 950

    950

    #361F20

    oklch(27% 0.036 16.9)

Export this scale for Tailwind in the Tailwind colors tool

#512C2D 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)#33322D0.059
Deuteranopia (no green cones)#3C392C0.055
Tritanopia (no blue cones)#58282D0.017
Achromatopsia (no color)#3636360.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #512C2D

    #512C2D

    oklch(34.1% 0.055 18.6)

  • #074143

    #074143

    oklch(34.2% 0.055 198.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512C2D

    #512C2D

    oklch(34.1% 0.055 18.6)

  • #4D2C3D

    #4D2C3D

    oklch(34.1% 0.055 348.2)

  • #4F2F1E

    #4F2F1E

    oklch(34.1% 0.055 48.2)

Open the analogous palette in the generator

Split complementary

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

  • #512C2D

    #512C2D

    oklch(34.1% 0.055 18.6)

  • #154133

    #154133

    oklch(34% 0.055 168.9)

  • #133D4F

    #133D4F

    oklch(34% 0.055 230)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512C2D

    #512C2D

    oklch(34.1% 0.055 18.6)

  • #293F23

    #293F23

    oklch(34.1% 0.055 139.1)

  • #263954

    #263954

    oklch(34.2% 0.054 257.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512C2D

    #512C2D

    oklch(34.1% 0.055 18.6)

  • #3B3A16

    #3B3A16

    oklch(34.1% 0.054 107.5)

  • #074143

    #074143

    oklch(34.2% 0.055 198.6)

  • #373353

    #373353

    oklch(34% 0.055 288.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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