#520C01

Closest named color: Mahogany (#4A0100). oklch(28.6% 0.103 33.1), rgb(82, 12, 1).

Aa

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

About this color

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

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

Values

HEX#520C01
RGBrgb(82, 12, 1)
HSLhsl(8, 98%, 16%)
OKLCHoklch(28.6% 0.103 33.1)

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

    #FFF2EF

    oklch(97.1% 0.015 33.1)

  2. Step 100

    100

    #FFE3DC

    oklch(93.7% 0.032 34.3)

  3. Step 200

    200

    #FFCBBF

    oklch(88.5% 0.062 33.2)

  4. Step 300

    300

    #FFA693

    oklch(80.9% 0.11 32.7)

  5. Step 400

    400

    #FF6B4D

    oklch(70.7% 0.187 33.2)

  6. Step 500

    500

    #F63400

    oklch(63.1% 0.233 33)

  7. Step 600

    600

    #D02A00

    oklch(55.6% 0.205 33)

  8. Step 700

    700

    #B02200

    oklch(49.1% 0.181 33)

  9. Step 800

    800

    #911B00

    oklch(42.6% 0.157 33.2)

  10. Step 900

    900

    #7B1500

    oklch(37.8% 0.139 33.1)

  11. Step 950

    950 (this color)

    #520C01

    oklch(28.6% 0.103 33.1)

Export this scale for Tailwind in the Tailwind colors tool

#520C01 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)#231D000.109
Deuteranopia (no green cones)#342D000.098
Tritanopia (no blue cones)#5B000A0.026
Achromatopsia (no color)#2727270.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #520C01

    #520C01

    oklch(28.6% 0.103 33.1)

  • #003139

    #003139

    oklch(28.7% 0.05 211.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520C01

    #520C01

    oklch(28.6% 0.103 33.1)

  • #500925

    #500925

    oklch(28.6% 0.103 3.5)

  • #402200

    #402200

    oklch(28.6% 0.065 63.8)

Open the analogous palette in the generator

Split complementary

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

  • #520C01

    #520C01

    oklch(28.6% 0.103 33.1)

  • #00322D

    #00322D

    oklch(28.5% 0.05 184.3)

  • #002D4A

    #002D4A

    oklch(28.6% 0.07 243.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520C01

    #520C01

    oklch(28.6% 0.103 33.1)

  • #003418

    #003418

    oklch(28.5% 0.073 153.5)

  • #1B225C

    #1B225C

    oklch(28.5% 0.103 272.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520C01

    #520C01

    oklch(28.6% 0.103 33.1)

  • #243000

    #243000

    oklch(28.8% 0.071 123.3)

  • #003139

    #003139

    oklch(28.7% 0.05 211.9)

  • #351853

    #351853

    oklch(28.5% 0.103 302.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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