#521E17

Closest named color: Chocolate Brown (#411900). oklch(31.2% 0.08 30), rgb(82, 30, 23).

Aa

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

About this color

#521E17 is a dark, moderately saturated red. In OKLCH its lightness is 31%, its chroma 0.080 and its hue 30°. 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.48:1.

Hue familyReds
Lightnessdark (31%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.55:1
White text13.48:1

Values

HEX#521E17
RGBrgb(82, 30, 23)
HSLhsl(7, 56%, 21%)
OKLCHoklch(31.2% 0.08 30)

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 #521E17 13.48:1 AAA Lc -102.7 Preferred for body text
Black text on #521E17 1.55:1 Fails Lc 0.0 Not readable
#521E17 text on white 13.48:1 AAA Lc 99.5 Preferred for body text
#521E17 text on black 1.55: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

    #FEF3F0

    oklch(97.2% 0.013 35.7)

  2. Step 100

    100

    #FCE4DF

    oklch(93.7% 0.027 31.7)

  3. Step 200

    200

    #FACDC5

    oklch(88.5% 0.052 29.9)

  4. Step 300

    300

    #F8AA9D

    oklch(81% 0.095 29.7)

  5. Step 400

    400

    #F07866

    oklch(70.7% 0.151 30.1)

  6. Step 500

    500

    #E74D3B

    oklch(63.2% 0.193 30)

  7. Step 600

    600

    #D22314

    oklch(55.6% 0.21 30)

  8. Step 700

    700

    #B50F03

    oklch(49% 0.195 29.9)

  9. Step 800

    800

    #93150A

    oklch(42.7% 0.161 30)

  10. Step 900

    900

    #761C13

    oklch(37.6% 0.126 29.8)

  11. Step 950

    950 (this color)

    #521E17

    oklch(31.2% 0.08 30)

Export this scale for Tailwind in the Tailwind colors tool

#521E17 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)#2C27160.082
Deuteranopia (no green cones)#3833160.077
Tritanopia (no blue cones)#5A131D0.030
Achromatopsia (no color)#2E2E2E0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #521E17

    #521E17

    oklch(31.2% 0.08 30)

  • #003840

    #003840

    oklch(31.2% 0.054 210.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #521E17

    #521E17

    oklch(31.2% 0.08 30)

  • #501C2F

    #501C2F

    oklch(31.2% 0.081 0.1)

  • #4B2600

    #4B2600

    oklch(31.2% 0.073 59.8)

Open the analogous palette in the generator

Split complementary

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

  • #521E17

    #521E17

    oklch(31.2% 0.08 30)

  • #003A32

    #003A32

    oklch(31.2% 0.057 180.2)

  • #003551

    #003551

    oklch(31.3% 0.071 239.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #521E17

    #521E17

    oklch(31.2% 0.08 30)

  • #073C19

    #073C19

    oklch(31.4% 0.081 149.6)

  • #212D59

    #212D59

    oklch(31.2% 0.08 269.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #521E17

    #521E17

    oklch(31.2% 0.08 30)

  • #2C3600

    #2C3600

    oklch(31.2% 0.074 120.4)

  • #003840

    #003840

    oklch(31.2% 0.054 210.2)

  • #372653

    #372653

    oklch(31.2% 0.08 299.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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