#520F05

Closest named color: Mahogany (#4A0100). oklch(28.9% 0.1 32), rgb(82, 15, 5).

Aa

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

About this color

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

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

Values

HEX#520F05
RGBrgb(82, 15, 5)
HSLhsl(8, 89%, 17%)
OKLCHoklch(28.9% 0.1 32)

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 #520F05 14.69:1 AAA Lc -103.6 Preferred for body text
Black text on #520F05 1.42:1 Fails Lc 0.0 Not readable
#520F05 text on white 14.69:1 AAA Lc 100.6 Preferred for body text
#520F05 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

    #FFF2EF

    oklch(97.1% 0.015 33.1)

  2. Step 100

    100

    #FFE3DC

    oklch(93.7% 0.032 34.3)

  3. Step 200

    200

    #FFCBC0

    oklch(88.5% 0.061 32.1)

  4. Step 300

    300

    #FFA694

    oklch(80.9% 0.109 32)

  5. Step 400

    400

    #FF6B51

    oklch(70.7% 0.186 32)

  6. Step 500

    500

    #F92C00

    oklch(63.1% 0.24 31.9)

  7. Step 600

    600

    #D22400

    oklch(55.6% 0.21 32)

  8. Step 700

    700

    #B21C00

    oklch(49.1% 0.187 31.9)

  9. Step 800

    800

    #931600

    oklch(42.7% 0.162 32)

  10. Step 900

    900

    #7C1100

    oklch(37.7% 0.143 32.1)

  11. Step 950

    950 (this color)

    #520F05

    oklch(28.9% 0.1 32)

Export this scale for Tailwind in the Tailwind colors tool

#520F05 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)#241F030.106
Deuteranopia (no green cones)#342E020.097
Tritanopia (no blue cones)#5B000D0.028
Achromatopsia (no color)#2828280.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #520F05

    #520F05

    oklch(28.9% 0.1 32)

  • #00323A

    #00323A

    oklch(29.1% 0.051 211.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520F05

    #520F05

    oklch(28.9% 0.1 32)

  • #500C27

    #500C27

    oklch(29% 0.101 2.3)

  • #422200

    #422200

    oklch(28.9% 0.067 61.8)

Open the analogous palette in the generator

Split complementary

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

  • #520F05

    #520F05

    oklch(28.9% 0.1 32)

  • #00332D

    #00332D

    oklch(28.8% 0.051 182.5)

  • #002E4A

    #002E4A

    oklch(28.9% 0.069 242.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520F05

    #520F05

    oklch(28.9% 0.1 32)

  • #003517

    #003517

    oklch(28.8% 0.075 152.3)

  • #1B245C

    #1B245C

    oklch(29% 0.1 271.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520F05

    #520F05

    oklch(28.9% 0.1 32)

  • #263000

    #263000

    oklch(28.9% 0.07 121.3)

  • #00323A

    #00323A

    oklch(29.1% 0.051 211.6)

  • #351B53

    #351B53

    oklch(29% 0.098 302)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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