#521D17

Closest named color: Chocolate Brown (#411900). oklch(31.1% 0.081 29), rgb(82, 29, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (31%)
Chromamoderately saturated (0.081)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.54:1
White text13.57:1

Values

HEX#521D17
RGBrgb(82, 29, 23)
HSLhsl(6, 56%, 21%)
OKLCHoklch(31.1% 0.081 29)

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 #521D17 13.57:1 AAA Lc -102.8 Preferred for body text
Black text on #521D17 1.54:1 Fails Lc 0.0 Not readable
#521D17 text on white 13.57:1 AAA Lc 99.6 Preferred for body text
#521D17 text on black 1.54: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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3DF

    oklch(93.5% 0.028 28.5)

  3. Step 200

    200

    #FBCDC5

    oklch(88.6% 0.054 29.6)

  4. Step 300

    300

    #F8A99D

    oklch(80.8% 0.096 28.9)

  5. Step 400

    400

    #F17767

    oklch(70.8% 0.153 29.1)

  6. Step 500

    500

    #E84B3C

    oklch(63.1% 0.196 29.2)

  7. Step 600

    600

    #D31F17

    oklch(55.5% 0.212 29)

  8. Step 700

    700

    #B70806

    oklch(49.2% 0.198 29.1)

  9. Step 800

    800

    #94120C

    oklch(42.7% 0.164 29.1)

  10. Step 900

    900

    #771B14

    oklch(37.7% 0.128 29)

  11. Step 950

    950 (this color)

    #521D17

    oklch(31.1% 0.081 29)

Export this scale for Tailwind in the Tailwind colors tool

#521D17 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)#2B27160.084
Deuteranopia (no green cones)#3832160.077
Tritanopia (no blue cones)#5B121C0.029
Achromatopsia (no color)#2E2E2E0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #521D17

    #521D17

    oklch(31.1% 0.081 29)

  • #00383F

    #00383F

    oklch(31.2% 0.054 208.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #521D17

    #521D17

    oklch(31.1% 0.081 29)

  • #4F1C2F

    #4F1C2F

    oklch(31% 0.08 359.6)

  • #4B2500

    #4B2500

    oklch(31% 0.074 58.4)

Open the analogous palette in the generator

Split complementary

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

  • #521D17

    #521D17

    oklch(31.1% 0.081 29)

  • #003A31

    #003A31

    oklch(31.2% 0.057 178.5)

  • #003450

    #003450

    oklch(31% 0.071 239.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #521D17

    #521D17

    oklch(31.1% 0.081 29)

  • #073B18

    #073B18

    oklch(31% 0.08 149.3)

  • #202D59

    #202D59

    oklch(31.1% 0.081 269)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #521D17

    #521D17

    oklch(31.1% 0.081 29)

  • #2D3500

    #2D3500

    oklch(31% 0.073 118.6)

  • #00383F

    #00383F

    oklch(31.2% 0.054 208.4)

  • #372553

    #372553

    oklch(31% 0.081 299.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #521D17 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.