#52170C

Closest named color: Chocolate Brown (#411900). oklch(30% 0.09 32.7), rgb(82, 23, 12).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.090)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.48:1
White text14.12:1

Values

HEX#52170C
RGBrgb(82, 23, 12)
HSLhsl(9, 74%, 18%)
OKLCHoklch(30% 0.09 32.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 #52170C 14.12:1 AAA Lc -103.3 Preferred for body text
Black text on #52170C 1.48:1 Fails Lc 0.0 Not readable
#52170C text on white 14.12:1 AAA Lc 100.2 Preferred for body text
#52170C text on black 1.48: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

    #FECCC0

    oklch(88.6% 0.059 33.8)

  4. Step 300

    300

    #FEA794

    oklch(80.9% 0.107 32.9)

  5. Step 400

    400

    #F87157

    oklch(70.6% 0.171 32.6)

  6. Step 500

    500

    #F13E1C

    oklch(63.1% 0.22 32.6)

  7. Step 600

    600

    #D12800

    oklch(55.6% 0.207 32.6)

  8. Step 700

    700

    #B12100

    oklch(49.2% 0.183 32.8)

  9. Step 800

    800

    #921900

    oklch(42.7% 0.159 32.7)

  10. Step 900

    900

    #7B1300

    oklch(37.7% 0.14 32.6)

  11. Step 950

    950 (this color)

    #52170C

    oklch(30% 0.09 32.7)

Export this scale for Tailwind in the Tailwind colors tool

#52170C 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.094
Deuteranopia (no green cones)#36300A0.086
Tritanopia (no blue cones)#5B06150.034
Achromatopsia (no color)#2B2B2B0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #52170C

    #52170C

    oklch(30% 0.09 32.7)

  • #00343D

    #00343D

    oklch(29.9% 0.052 213)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52170C

    #52170C

    oklch(30% 0.09 32.7)

  • #50152A

    #50152A

    oklch(30.1% 0.09 2.4)

  • #452500

    #452500

    oklch(30% 0.068 63.7)

Open the analogous palette in the generator

Split complementary

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

  • #52170C

    #52170C

    oklch(30% 0.09 32.7)

  • #003630

    #003630

    oklch(29.9% 0.053 183)

  • #00314F

    #00314F

    oklch(30.1% 0.072 242.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52170C

    #52170C

    oklch(30% 0.09 32.7)

  • #003819

    #003819

    oklch(29.9% 0.078 152.5)

  • #20285A

    #20285A

    oklch(30% 0.09 273)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52170C

    #52170C

    oklch(30% 0.09 32.7)

  • #273300

    #273300

    oklch(29.9% 0.073 122.8)

  • #00343D

    #00343D

    oklch(29.9% 0.052 213)

  • #372052

    #372052

    oklch(30% 0.089 302.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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