#521517

Closest named color: Mahogany (#4A0100). oklch(29.9% 0.091 22.7), rgb(82, 21, 23).

Aa

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

About this color

#521517 is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.091 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.045 away. White text reads best on it, at 14.20:1.

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.47:1
White text14.20:1

Values

HEX#521517
RGBrgb(82, 21, 23)
HSLhsl(358, 59%, 20%)
OKLCHoklch(29.9% 0.091 22.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 #521517 14.20:1 AAA Lc -103.3 Preferred for body text
Black text on #521517 1.47:1 Fails Lc 0.0 Not readable
#521517 text on white 14.20:1 AAA Lc 100.2 Preferred for body text
#521517 text on black 1.47: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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FEE2E0

    oklch(93.5% 0.031 22.6)

  3. Step 200

    200

    #FECAC7

    oklch(88.4% 0.06 22.2)

  4. Step 300

    300

    #FFA5A0

    oklch(81% 0.108 23.2)

  5. Step 400

    400

    #F96E6D

    oklch(70.7% 0.171 22.9)

  6. Step 500

    500

    #F13846

    oklch(63% 0.219 22.7)

  7. Step 600

    600

    #D8002D

    oklch(55.7% 0.225 22.8)

  8. Step 700

    700

    #B70025

    oklch(49.2% 0.198 22.7)

  9. Step 800

    800

    #97001D

    oklch(42.7% 0.172 22.6)

  10. Step 900

    900

    #7C0C1A

    oklch(37.7% 0.143 22.6)

  11. Step 950

    950 (this color)

    #521517

    oklch(29.9% 0.091 22.7)

Export this scale for Tailwind in the Tailwind colors tool

#521517 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)#2623170.097
Deuteranopia (no green cones)#3530150.091
Tritanopia (no blue cones)#5B05160.026
Achromatopsia (no color)#2B2B2B0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #521517

    #521517

    oklch(29.9% 0.091 22.7)

  • #003539

    #003539

    oklch(30% 0.051 203)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #521517

    #521517

    oklch(29.9% 0.091 22.7)

  • #4E1532

    #4E1532

    oklch(30% 0.092 352.6)

  • #4A2000

    #4A2000

    oklch(29.9% 0.076 52.4)

Open the analogous palette in the generator

Split complementary

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

  • #521517

    #521517

    oklch(29.9% 0.091 22.7)

  • #00372B

    #00372B

    oklch(30% 0.058 172.9)

  • #003247

    #003247

    oklch(29.8% 0.062 233)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #521517

    #521517

    oklch(29.9% 0.091 22.7)

  • #083808

    #083808

    oklch(29.8% 0.09 142.9)

  • #142B5A

    #142B5A

    oklch(30% 0.09 262.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #521517

    #521517

    oklch(29.9% 0.091 22.7)

  • #2E3100

    #2E3100

    oklch(30% 0.067 113.4)

  • #003539

    #003539

    oklch(30% 0.051 203)

  • #302256

    #302256

    oklch(29.9% 0.09 292.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #521517 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.