#512D30

Closest named color: Onyx (#343A40). oklch(34.4% 0.053 14.9), rgb(81, 45, 48).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (34%)
Chromamuted (0.053)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.76:1
White text11.87:1

Values

HEX#512D30
RGBrgb(81, 45, 48)
HSLhsl(355, 29%, 25%)
OKLCHoklch(34.4% 0.053 14.9)

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 #512D30 11.87:1 AAA Lc -100.7 Preferred for body text
Black text on #512D30 1.76:1 Fails Lc 0.0 Not readable
#512D30 text on white 11.87:1 AAA Lc 97.1 Preferred for body text
#512D30 text on black 1.76: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

    #F1E7E7

    oklch(93.6% 0.011 17.4)

  3. Step 200

    200

    #E7D4D4

    oklch(88.5% 0.021 17.6)

  4. Step 300

    300

    #D9B7B8

    oklch(80.9% 0.039 16)

  5. Step 400

    400

    #C59194

    oklch(70.7% 0.063 15)

  6. Step 500

    500

    #B5757A

    oklch(63.1% 0.081 14.5)

  7. Step 600

    600

    #A05D63

    oklch(55.6% 0.088 14.6)

  8. Step 700

    700

    #894C52

    oklch(49.1% 0.083 14.3)

  9. Step 800

    800

    #6F3F43

    oklch(42.7% 0.067 14.9)

  10. Step 900

    900 (this color)

    #512D30

    oklch(34.4% 0.053 14.9)

  11. Step 950

    950

    #352021

    oklch(27.1% 0.033 16.3)

Export this scale for Tailwind in the Tailwind colors tool

#512D30 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)#3433300.057
Deuteranopia (no green cones)#3D3A2F0.053
Tritanopia (no blue cones)#57292E0.015
Achromatopsia (no color)#3737370.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #512D30

    #512D30

    oklch(34.4% 0.053 14.9)

  • #0C4141

    #0C4141

    oklch(34.3% 0.053 195)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512D30

    #512D30

    oklch(34.4% 0.053 14.9)

  • #4D2D3F

    #4D2D3F

    oklch(34.4% 0.054 345.5)

  • #503021

    #503021

    oklch(34.5% 0.053 45.6)

Open the analogous palette in the generator

Split complementary

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

  • #512D30

    #512D30

    oklch(34.4% 0.053 14.9)

  • #1A4232

    #1A4232

    oklch(34.5% 0.054 164.7)

  • #143F4E

    #143F4E

    oklch(34.5% 0.053 224.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512D30

    #512D30

    oklch(34.4% 0.053 14.9)

  • #2D3F22

    #2D3F22

    oklch(34.4% 0.053 134.4)

  • #253A54

    #253A54

    oklch(34.3% 0.053 254.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512D30

    #512D30

    oklch(34.4% 0.053 14.9)

  • #3D3A17

    #3D3A17

    oklch(34.3% 0.053 104.4)

  • #0C4141

    #0C4141

    oklch(34.3% 0.053 195)

  • #363554

    #363554

    oklch(34.5% 0.054 284.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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