#521F17

Closest named color: Chocolate Brown (#411900). oklch(31.4% 0.078 31), rgb(82, 31, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (31%)
Chromamoderately saturated (0.078)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.56:1
White text13.40:1

Values

HEX#521F17
RGBrgb(82, 31, 23)
HSLhsl(8, 56%, 21%)
OKLCHoklch(31.4% 0.078 31)

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 #521F17 13.40:1 AAA Lc -102.6 Preferred for body text
Black text on #521F17 1.56:1 Fails Lc 0.0 Not readable
#521F17 text on white 13.40:1 AAA Lc 99.4 Preferred for body text
#521F17 text on black 1.56: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

    #FBE4DF

    oklch(93.6% 0.026 32.2)

  3. Step 200

    200

    #F9CDC5

    oklch(88.4% 0.051 30.1)

  4. Step 300

    300

    #F7AA9C

    oklch(80.9% 0.094 30.6)

  5. Step 400

    400

    #EF7965

    oklch(70.7% 0.149 31.1)

  6. Step 500

    500

    #E54F3A

    oklch(63.1% 0.19 30.9)

  7. Step 600

    600

    #D12711

    oklch(55.6% 0.207 30.9)

  8. Step 700

    700

    #B41600

    oklch(49.1% 0.191 31)

  9. Step 800

    800

    #921808

    oklch(42.7% 0.159 31)

  10. Step 900

    900

    #751E12

    oklch(37.7% 0.123 31.1)

  11. Step 950

    950 (this color)

    #521F17

    oklch(31.4% 0.078 31)

Export this scale for Tailwind in the Tailwind colors tool

#521F17 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)#2C28160.081
Deuteranopia (no green cones)#3933160.074
Tritanopia (no blue cones)#5A151D0.029
Achromatopsia (no color)#2F2F2F0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #521F17

    #521F17

    oklch(31.4% 0.078 31)

  • #003841

    #003841

    oklch(31.3% 0.055 212.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #521F17

    #521F17

    oklch(31.4% 0.078 31)

  • #501D2F

    #501D2F

    oklch(31.4% 0.079 0.7)

  • #4B2700

    #4B2700

    oklch(31.4% 0.073 61.2)

Open the analogous palette in the generator

Split complementary

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

  • #521F17

    #521F17

    oklch(31.4% 0.078 31)

  • #003A33

    #003A33

    oklch(31.3% 0.056 181.9)

  • #003552

    #003552

    oklch(31.4% 0.072 240.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #521F17

    #521F17

    oklch(31.4% 0.078 31)

  • #073C1B

    #073C1B

    oklch(31.4% 0.079 150.8)

  • #232D59

    #232D59

    oklch(31.3% 0.08 271.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #521F17

    #521F17

    oklch(31.4% 0.078 31)

  • #2C3700

    #2C3700

    oklch(31.5% 0.076 121.2)

  • #003841

    #003841

    oklch(31.3% 0.055 212.1)

  • #382652

    #382652

    oklch(31.3% 0.078 300.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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