#512012

Closest named color: Chocolate Brown (#411900). oklch(31.3% 0.078 36.7), rgb(81, 32, 18).

Aa

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

About this color

#512012 is a dark, moderately saturated red. In OKLCH its lightness is 31%, its chroma 0.078 and its hue 37°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.047 away. White text reads best on it, at 13.41:1.

Hue familyReds
Lightnessdark (31%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.56:1
White text13.41:1

Values

HEX#512012
RGBrgb(81, 32, 18)
HSLhsl(13, 64%, 19%)
OKLCHoklch(31.3% 0.078 36.7)

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 #512012 13.41:1 AAA Lc -102.7 Preferred for body text
Black text on #512012 1.56:1 Fails Lc 0.0 Not readable
#512012 text on white 13.41:1 AAA Lc 99.4 Preferred for body text
#512012 text on black 1.56: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 950.

  1. Step 50

    50

    #FDF3F0

    oklch(97.1% 0.012 37.4)

  2. Step 100

    100

    #FBE4DE

    oklch(93.6% 0.027 35)

  3. Step 200

    200

    #F9CEC2

    oklch(88.5% 0.052 36.1)

  4. Step 300

    300

    #F5AC97

    oklch(80.9% 0.091 36.7)

  5. Step 400

    400

    #ED7C5C

    oklch(70.8% 0.147 36.7)

  6. Step 500

    500

    #E35327

    oklch(63% 0.188 36.7)

  7. Step 600

    600

    #C83A00

    oklch(55.6% 0.186 36.9)

  8. Step 700

    700

    #AA2F00

    oklch(49.1% 0.166 36.6)

  9. Step 800

    800

    #8C2500

    oklch(42.6% 0.144 36.6)

  10. Step 900

    900

    #742004

    oklch(37.6% 0.122 36.7)

  11. Step 950

    950 (this color)

    #512012

    oklch(31.3% 0.078 36.7)

Export this scale for Tailwind in the Tailwind colors tool

#512012 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)#2D28100.077
Deuteranopia (no green cones)#3933110.071
Tritanopia (no blue cones)#5A161D0.034
Achromatopsia (no color)#2F2F2F0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #512012

    #512012

    oklch(31.3% 0.078 36.7)

  • #003843

    #003843

    oklch(31.4% 0.056 215.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512012

    #512012

    oklch(31.3% 0.078 36.7)

  • #501D2A

    #501D2A

    oklch(31.2% 0.078 6.9)

  • #482900

    #482900

    oklch(31.4% 0.069 67.1)

Open the analogous palette in the generator

Split complementary

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

  • #512012

    #512012

    oklch(31.3% 0.078 36.7)

  • #003A35

    #003A35

    oklch(31.3% 0.055 185.4)

  • #043356

    #043356

    oklch(31.2% 0.078 247.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512012

    #512012

    oklch(31.3% 0.078 36.7)

  • #003C21

    #003C21

    oklch(31.3% 0.075 156.8)

  • #282C58

    #282C58

    oklch(31.4% 0.078 277)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512012

    #512012

    oklch(31.3% 0.078 36.7)

  • #273803

    #273803

    oklch(31.4% 0.077 126.6)

  • #003843

    #003843

    oklch(31.4% 0.056 215.6)

  • #3B254F

    #3B254F

    oklch(31.3% 0.077 306.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #512012 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.