#52170A

Closest named color: Chocolate Brown (#411900). oklch(30% 0.091 33.9), rgb(82, 23, 10).

Aa

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

About this color

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

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

Values

HEX#52170A
RGBrgb(82, 23, 10)
HSLhsl(11, 78%, 18%)
OKLCHoklch(30% 0.091 33.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 #52170A 14.13:1 AAA Lc -103.3 Preferred for body text
Black text on #52170A 1.48:1 Fails Lc 0.0 Not readable
#52170A text on white 14.13:1 AAA Lc 100.2 Preferred for body text
#52170A 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

    #FEE3DC

    oklch(93.6% 0.031 34.9)

  3. Step 200

    200

    #FECCC0

    oklch(88.6% 0.059 33.8)

  4. Step 300

    300

    #FEA792

    oklch(80.9% 0.108 34.2)

  5. Step 400

    400

    #F97153

    oklch(70.7% 0.173 33.9)

  6. Step 500

    500

    #F13F10

    oklch(63.2% 0.22 34)

  7. Step 600

    600

    #CE2F00

    oklch(55.6% 0.2 34)

  8. Step 700

    700

    #AE2600

    oklch(49% 0.177 33.9)

  9. Step 800

    800

    #901E00

    oklch(42.7% 0.153 34)

  10. Step 900

    900

    #791700

    oklch(37.6% 0.136 33.8)

  11. Step 950

    950 (this color)

    #52170A

    oklch(30% 0.091 33.9)

Export this scale for Tailwind in the Tailwind colors tool

#52170A 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)#2823080.094
Deuteranopia (no green cones)#3730080.085
Tritanopia (no blue cones)#5B06150.035
Achromatopsia (no color)#2B2B2B0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #52170A

    #52170A

    oklch(30% 0.091 33.9)

  • #00343E

    #00343E

    oklch(29.9% 0.053 214.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52170A

    #52170A

    oklch(30% 0.091 33.9)

  • #501428

    #501428

    oklch(29.9% 0.091 4.2)

  • #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°).

  • #52170A

    #52170A

    oklch(30% 0.091 33.9)

  • #003631

    #003631

    oklch(29.9% 0.053 184.9)

  • #003150

    #003150

    oklch(30.1% 0.074 243.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52170A

    #52170A

    oklch(30% 0.091 33.9)

  • #00381B

    #00381B

    oklch(29.9% 0.075 154)

  • #21275A

    #21275A

    oklch(29.9% 0.091 274.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52170A

    #52170A

    oklch(30% 0.091 33.9)

  • #263300

    #263300

    oklch(29.8% 0.074 123.7)

  • #00343E

    #00343E

    oklch(29.9% 0.053 214.9)

  • #381F52

    #381F52

    oklch(30% 0.091 304)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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