#51170C

Closest named color: Chocolate Brown (#411900). oklch(29.8% 0.089 32.8), rgb(81, 23, 12).

Aa

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

About this color

#51170C is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.089 and its hue 33°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.040 away. White text reads best on it, at 14.21:1.

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.089)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.47:1
White text14.21:1

Values

HEX#51170C
RGBrgb(81, 23, 12)
HSLhsl(10, 74%, 18%)
OKLCHoklch(29.8% 0.089 32.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 #51170C 14.21:1 AAA Lc -103.4 Preferred for body text
Black text on #51170C 1.47:1 Fails Lc 0.0 Not readable
#51170C text on white 14.21:1 AAA Lc 100.3 Preferred for body text
#51170C text on black 1.47: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

    #FFF2EF

    oklch(97.1% 0.015 33.1)

  2. Step 100

    100

    #FEE3DD

    oklch(93.6% 0.031 32.6)

  3. Step 200

    200

    #FDCCC1

    oklch(88.5% 0.058 32.8)

  4. Step 300

    300

    #FDA795

    oklch(80.9% 0.106 32.4)

  5. Step 400

    400

    #F77258

    oklch(70.6% 0.169 32.7)

  6. Step 500

    500

    #F0411E

    oklch(63.2% 0.216 32.9)

  7. Step 600

    600

    #D02900

    oklch(55.5% 0.206 32.8)

  8. Step 700

    700

    #B02100

    oklch(49% 0.182 32.8)

  9. Step 800

    800

    #921A00

    oklch(42.8% 0.158 32.9)

  10. Step 900

    900

    #7B1400

    oklch(37.7% 0.14 32.8)

  11. Step 950

    950 (this color)

    #51170C

    oklch(29.8% 0.089 32.8)

Export this scale for Tailwind in the Tailwind colors tool

#51170C 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)#28230A0.092
Deuteranopia (no green cones)#362F0A0.083
Tritanopia (no blue cones)#5A07150.033
Achromatopsia (no color)#2B2B2B0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #51170C

    #51170C

    oklch(29.8% 0.089 32.8)

  • #00343D

    #00343D

    oklch(29.9% 0.052 213)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51170C

    #51170C

    oklch(29.8% 0.089 32.8)

  • #4F1529

    #4F1529

    oklch(29.8% 0.089 3)

  • #452400

    #452400

    oklch(29.8% 0.069 62.1)

Open the analogous palette in the generator

Split complementary

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

  • #51170C

    #51170C

    oklch(29.8% 0.089 32.8)

  • #003630

    #003630

    oklch(29.9% 0.053 183)

  • #00304E

    #00304E

    oklch(29.7% 0.072 243.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51170C

    #51170C

    oklch(29.8% 0.089 32.8)

  • #003819

    #003819

    oklch(29.9% 0.078 152.5)

  • #1F2859

    #1F2859

    oklch(29.9% 0.088 272.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51170C

    #51170C

    oklch(29.8% 0.089 32.8)

  • #273300

    #273300

    oklch(29.9% 0.073 122.8)

  • #00343D

    #00343D

    oklch(29.9% 0.052 213)

  • #371F51

    #371F51

    oklch(29.8% 0.089 303.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51170C 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.