#520400

Closest named color: Mahogany (#4A0100). oklch(27.9% 0.11 30.7), rgb(82, 4, 0).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (28%)
Chromamoderately saturated (0.110)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.37:1
White text15.26:1

Values

HEX#520400
RGBrgb(82, 4, 0)
HSLhsl(3, 100%, 16%)
OKLCHoklch(27.9% 0.11 30.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 #520400 15.26:1 AAA Lc -103.8 Preferred for body text
Black text on #520400 1.37:1 Fails Lc 0.0 Not readable
#520400 text on white 15.26:1 AAA Lc 100.9 Preferred for body text
#520400 text on black 1.37: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

    #FFE2DD

    oklch(93.5% 0.033 29.4)

  3. Step 200

    200

    #FFCBC1

    oklch(88.5% 0.061 30.9)

  4. Step 300

    300

    #FFA696

    oklch(80.9% 0.109 30.7)

  5. Step 400

    400

    #FF6A54

    oklch(70.7% 0.186 30.7)

  6. Step 500

    500

    #FC1F00

    oklch(63% 0.248 30.7)

  7. Step 600

    600

    #D51900

    oklch(55.5% 0.218 30.7)

  8. Step 700

    700

    #B51300

    oklch(49.2% 0.193 30.7)

  9. Step 800

    800

    #950E00

    oklch(42.6% 0.167 30.7)

  10. Step 900

    900

    #7E0A00

    oklch(37.7% 0.148 30.7)

  11. Step 950

    950 (this color)

    #520400

    oklch(27.9% 0.11 30.7)

Export this scale for Tailwind in the Tailwind colors tool

#520400 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)#201A000.118
Deuteranopia (no green cones)#322B000.105
Tritanopia (no blue cones)#5C00040.024
Achromatopsia (no color)#2525250.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #520400

    #520400

    oklch(27.9% 0.11 30.7)

  • #002F36

    #002F36

    oklch(28% 0.048 210.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520400

    #520400

    oklch(27.9% 0.11 30.7)

  • #4F0226

    #4F0226

    oklch(27.9% 0.11 0.3)

  • #3F2000

    #3F2000

    oklch(28% 0.065 61.5)

Open the analogous palette in the generator

Split complementary

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

  • #520400

    #520400

    oklch(27.9% 0.11 30.7)

  • #00312A

    #00312A

    oklch(28.1% 0.051 180.2)

  • #002C45

    #002C45

    oklch(28% 0.064 240.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520400

    #520400

    oklch(27.9% 0.11 30.7)

  • #003213

    #003213

    oklch(27.7% 0.075 150.7)

  • #16205D

    #16205D

    oklch(27.9% 0.109 270.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520400

    #520400

    oklch(27.9% 0.11 30.7)

  • #242D00

    #242D00

    oklch(27.9% 0.067 120.8)

  • #002F36

    #002F36

    oklch(28% 0.048 210.3)

  • #331555

    #331555

    oklch(28% 0.11 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 #520400, closest first.

Similar named colors

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

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