#512B2F

Closest named color: Onyx (#343A40). oklch(34% 0.056 13.8), rgb(81, 43, 47).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (34%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameOnyx (#343A40)
Black text1.73:1
White text12.09:1

Values

HEX#512B2F
RGBrgb(81, 43, 47)
HSLhsl(354, 31%, 24%)
OKLCHoklch(34% 0.056 13.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 #512B2F 12.09:1 AAA Lc -101.0 Preferred for body text
Black text on #512B2F 1.73:1 Fails Lc 0.0 Not readable
#512B2F text on white 12.09:1 AAA Lc 97.4 Preferred for body text
#512B2F text on black 1.73: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

    #E8D3D4

    oklch(88.4% 0.023 14.3)

  4. Step 300

    300

    #DBB6B8

    oklch(80.9% 0.043 14.4)

  5. Step 400

    400

    #C79094

    oklch(70.8% 0.067 14.1)

  6. Step 500

    500

    #B8737A

    oklch(63.1% 0.088 13.3)

  7. Step 600

    600

    #A35B63

    oklch(55.6% 0.095 13.5)

  8. Step 700

    700

    #8B4B52

    oklch(49.2% 0.087 13.8)

  9. Step 800

    800

    #713D43

    oklch(42.6% 0.073 13.3)

  10. Step 900

    900 (this color)

    #512B2F

    oklch(34% 0.056 13.8)

  11. Step 950

    950

    #361F21

    oklch(27% 0.036 14.1)

Export this scale for Tailwind in the Tailwind colors tool

#512B2F 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)#32312F0.061
Deuteranopia (no green cones)#3C392E0.057
Tritanopia (no blue cones)#57272D0.015
Achromatopsia (no color)#3636360.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #512B2F

    #512B2F

    oklch(34% 0.056 13.8)

  • #034140

    #034140

    oklch(34% 0.057 193)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512B2F

    #512B2F

    oklch(34% 0.056 13.8)

  • #4C2C3F

    #4C2C3F

    oklch(34% 0.055 344)

  • #502E1F

    #502E1F

    oklch(34% 0.056 44.3)

Open the analogous palette in the generator

Split complementary

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

  • #512B2F

    #512B2F

    oklch(34% 0.056 13.8)

  • #174130

    #174130

    oklch(34% 0.056 163.9)

  • #0D3E4D

    #0D3E4D

    oklch(34% 0.056 223)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512B2F

    #512B2F

    oklch(34% 0.056 13.8)

  • #2C3E1F

    #2C3E1F

    oklch(33.9% 0.056 133.3)

  • #223954

    #223954

    oklch(33.9% 0.056 253.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512B2F

    #512B2F

    oklch(34% 0.056 13.8)

  • #3D3913

    #3D3913

    oklch(34% 0.056 103.3)

  • #034140

    #034140

    oklch(34% 0.057 193)

  • #343454

    #343454

    oklch(34% 0.056 283)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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