#520B16

Closest named color: Mahogany (#4A0100). oklch(28.8% 0.101 18.6), rgb(82, 11, 22).

Aa

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

About this color

#520B16 is a dark, moderately saturated red. In OKLCH its lightness is 29%, its chroma 0.101 and its hue 19°. Its hue sits on the warm side of the wheel. The nearest named color is Mahogany (#4A0100), ΔE 0.036 away. White text reads best on it, at 14.80:1.

Hue familyReds
Lightnessdark (29%)
Chromamoderately saturated (0.101)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.41:1
White text14.80:1

Values

HEX#520B16
RGBrgb(82, 11, 22)
HSLhsl(351, 76%, 18%)
OKLCHoklch(28.8% 0.101 18.6)

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 #520B16 14.80:1 AAA Lc -103.7 Preferred for body text
Black text on #520B16 1.41:1 Fails Lc 0.0 Not readable
#520B16 text on white 14.80:1 AAA Lc 100.7 Preferred for body text
#520B16 text on black 1.41: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

    #FFF2F2

    oklch(97.1% 0.014 17.4)

  2. Step 100

    100

    #FFE2E1

    oklch(93.6% 0.032 20.1)

  3. Step 200

    200

    #FFCACA

    oklch(88.5% 0.06 18.4)

  4. Step 300

    300

    #FFA4A5

    oklch(80.9% 0.108 19)

  5. Step 400

    400

    #FF6672

    oklch(70.7% 0.186 18.6)

  6. Step 500

    500

    #FB184B

    oklch(63.2% 0.245 18.7)

  7. Step 600

    600

    #D7003C

    oklch(55.7% 0.223 18.7)

  8. Step 700

    700

    #B60031

    oklch(49.2% 0.197 18.8)

  9. Step 800

    800

    #960027

    oklch(42.6% 0.171 18.7)

  10. Step 900

    900

    #7F0020

    oklch(37.8% 0.151 18.5)

  11. Step 950

    950 (this color)

    #520B16

    oklch(28.8% 0.101 18.6)

Export this scale for Tailwind in the Tailwind colors tool

#520B16 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)#201E160.113
Deuteranopia (no green cones)#322D140.102
Tritanopia (no blue cones)#5B00100.021
Achromatopsia (no color)#2828280.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #520B16

    #520B16

    oklch(28.8% 0.101 18.6)

  • #003234

    #003234

    oklch(28.8% 0.049 199.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520B16

    #520B16

    oklch(28.8% 0.101 18.6)

  • #4C0D33

    #4C0D33

    oklch(28.8% 0.102 348.5)

  • #481C00

    #481C00

    oklch(28.8% 0.077 48.8)

Open the analogous palette in the generator

Split complementary

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

  • #520B16

    #520B16

    oklch(28.8% 0.101 18.6)

  • #003426

    #003426

    oklch(28.9% 0.058 169)

  • #003041

    #003041

    oklch(28.9% 0.056 228.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520B16

    #520B16

    oklch(28.8% 0.101 18.6)

  • #0E3500

    #0E3500

    oklch(29% 0.091 138.8)

  • #04285C

    #04285C

    oklch(28.9% 0.102 258.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520B16

    #520B16

    oklch(28.8% 0.101 18.6)

  • #2E2D00

    #2E2D00

    oklch(28.9% 0.062 108.4)

  • #003234

    #003234

    oklch(28.8% 0.049 199.1)

  • #2B1E59

    #2B1E59

    oklch(28.8% 0.101 288.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #520B16 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.