#520902

Closest named color: Mahogany (#4A0100). oklch(28.4% 0.105 31.3), rgb(82, 9, 2).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (28%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameMahogany (#4A0100)
Black text1.39:1
White text15.01:1

Values

HEX#520902
RGBrgb(82, 9, 2)
HSLhsl(5, 95%, 16%)
OKLCHoklch(28.4% 0.105 31.3)

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 #520902 15.01:1 AAA Lc -103.8 Preferred for body text
Black text on #520902 1.39:1 Fails Lc 0.0 Not readable
#520902 text on white 15.01:1 AAA Lc 100.8 Preferred for body text
#520902 text on black 1.39: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

    #FFA695

    oklch(80.9% 0.109 31.4)

  5. Step 400

    400

    #FF6A53

    oklch(70.6% 0.186 31)

  6. Step 500

    500

    #FB2600

    oklch(63.2% 0.244 31.3)

  7. Step 600

    600

    #D41E00

    oklch(55.6% 0.215 31.2)

  8. Step 700

    700

    #B31800

    oklch(49% 0.189 31.3)

  9. Step 800

    800

    #941200

    oklch(42.6% 0.165 31.3)

  10. Step 900

    900

    #7D0D00

    oklch(37.7% 0.146 31.2)

  11. Step 950

    950 (this color)

    #520902

    oklch(28.4% 0.105 31.3)

Export this scale for Tailwind in the Tailwind colors tool

#520902 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)#221C010.112
Deuteranopia (no green cones)#332C000.101
Tritanopia (no blue cones)#5B00080.023
Achromatopsia (no color)#2727270.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #520902

    #520902

    oklch(28.4% 0.105 31.3)

  • #003038

    #003038

    oklch(28.4% 0.049 212.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #520902

    #520902

    oklch(28.4% 0.105 31.3)

  • #4F0726

    #4F0726

    oklch(28.3% 0.105 1.5)

  • #402100

    #402100

    oklch(28.4% 0.065 62.1)

Open the analogous palette in the generator

Split complementary

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

  • #520902

    #520902

    oklch(28.4% 0.105 31.3)

  • #00322B

    #00322B

    oklch(28.4% 0.051 180.4)

  • #002D47

    #002D47

    oklch(28.4% 0.066 240.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #520902

    #520902

    oklch(28.4% 0.105 31.3)

  • #003415

    #003415

    oklch(28.4% 0.076 151.3)

  • #19225D

    #19225D

    oklch(28.5% 0.105 271.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #520902

    #520902

    oklch(28.4% 0.105 31.3)

  • #252E00

    #252E00

    oklch(28.2% 0.067 120.6)

  • #003038

    #003038

    oklch(28.4% 0.049 212.1)

  • #341854

    #341854

    oklch(28.5% 0.104 301.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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