#520D0A

Closest named color: Mahogany (#4A0100). oklch(28.8% 0.101 28), rgb(82, 13, 10).

Aa

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

About this color

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

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

Values

HEX#520D0A
RGBrgb(82, 13, 10)
HSLhsl(3, 78%, 18%)
OKLCHoklch(28.8% 0.101 28)

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

    #FFF2F0

    oklch(97.1% 0.014 28)

  2. Step 100

    100

    #FFE2DE

    oklch(93.5% 0.033 27.1)

  3. Step 200

    200

    #FFCBC3

    oklch(88.6% 0.06 28.4)

  4. Step 300

    300

    #FFA599

    oklch(80.8% 0.109 28)

  5. Step 400

    400

    #FF695B

    oklch(70.6% 0.186 28.1)

  6. Step 500

    500

    #FB2222

    oklch(63.1% 0.244 28)

  7. Step 600

    600

    #D9000F

    oklch(55.6% 0.227 28)

  8. Step 700

    700

    #B8000A

    oklch(49.2% 0.201 28.1)

  9. Step 800

    800

    #980007

    oklch(42.7% 0.175 28)

  10. Step 900

    900

    #800005

    oklch(37.7% 0.154 28)

  11. Step 950

    950 (this color)

    #520D0A

    oklch(28.8% 0.101 28)

Export this scale for Tailwind in the Tailwind colors tool

#520D0A 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)#231E090.107
Deuteranopia (no green cones)#342D070.098
Tritanopia (no blue cones)#5B000D0.024
Achromatopsia (no color)#2828280.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #520D0A

    #520D0A

    oklch(28.8% 0.101 28)

  • #003138

    #003138

    oklch(28.7% 0.05 209.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520D0A

    #520D0A

    oklch(28.8% 0.101 28)

  • #4F0C2B

    #4F0C2B

    oklch(28.9% 0.101 357.9)

  • #432000

    #432000

    oklch(28.7% 0.069 57.7)

Open the analogous palette in the generator

Split complementary

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

  • #520D0A

    #520D0A

    oklch(28.8% 0.101 28)

  • #00332B

    #00332B

    oklch(28.7% 0.053 178.7)

  • #002F47

    #002F47

    oklch(29% 0.064 237.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520D0A

    #520D0A

    oklch(28.8% 0.101 28)

  • #003510

    #003510

    oklch(28.7% 0.083 148.2)

  • #16255C

    #16255C

    oklch(28.9% 0.1 268)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520D0A

    #520D0A

    oklch(28.8% 0.101 28)

  • #282F00

    #282F00

    oklch(28.8% 0.067 118.3)

  • #003138

    #003138

    oklch(28.7% 0.05 209.8)

  • #321B55

    #321B55

    oklch(28.8% 0.101 298)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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