#540D21

Closest named color: Burgundy (#610023). oklch(29.7% 0.102 10.1), rgb(84, 13, 33).

Aa

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

About this color

#540D21 is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.102 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Burgundy (#610023), ΔE 0.030 away. White text reads best on it, at 14.41:1.

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.102)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.45:1
White text14.41:1

Values

HEX#540D21
RGBrgb(84, 13, 33)
HSLhsl(343, 73%, 19%)
OKLCHoklch(29.7% 0.102 10.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 #540D21 14.41:1 AAA Lc -103.3 Preferred for body text
Black text on #540D21 1.45:1 Fails Lc 0.0 Not readable
#540D21 text on white 14.41:1 AAA Lc 100.3 Preferred for body text
#540D21 text on black 1.45: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

    #FFF2F3

    oklch(97.2% 0.014 12)

  2. Step 100

    100

    #FFE1E5

    oklch(93.5% 0.033 8.6)

  3. Step 200

    200

    #FFC9D0

    oklch(88.5% 0.062 9.7)

  4. Step 300

    300

    #FFA2B0

    oklch(80.9% 0.111 10.1)

  5. Step 400

    400

    #FF6385

    oklch(70.7% 0.191 10.1)

  6. Step 500

    500

    #F91166

    oklch(63.1% 0.247 10.2)

  7. Step 600

    600

    #D40055

    oklch(55.6% 0.222 10)

  8. Step 700

    700

    #B30046

    oklch(49% 0.196 10.2)

  9. Step 800

    800

    #940039

    oklch(42.6% 0.17 9.9)

  10. Step 900

    900

    #7D002F

    oklch(37.7% 0.151 9.9)

  11. Step 950

    950 (this color)

    #540D21

    oklch(29.7% 0.102 10.1)

Export this scale for Tailwind in the Tailwind colors tool

#540D21 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)#2021210.115
Deuteranopia (no green cones)#332F1F0.104
Tritanopia (no blue cones)#5D00160.025
Achromatopsia (no color)#2A2A2A0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #540D21

    #540D21

    oklch(29.7% 0.102 10.1)

  • #003533

    #003533

    oklch(29.7% 0.051 190.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #540D21

    #540D21

    oklch(29.7% 0.102 10.1)

  • #4C113D

    #4C113D

    oklch(29.7% 0.103 339.8)

  • #511700

    #511700

    oklch(29.7% 0.093 40.3)

Open the analogous palette in the generator

Split complementary

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

  • #540D21

    #540D21

    oklch(29.7% 0.102 10.1)

  • #003721

    #003721

    oklch(29.7% 0.067 159.9)

  • #003340

    #003340

    oklch(29.7% 0.054 220.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #540D21

    #540D21

    oklch(29.7% 0.102 10.1)

  • #1F3400

    #1F3400

    oklch(29.6% 0.08 130)

  • #002E55

    #002E55

    oklch(29.7% 0.084 250.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #540D21

    #540D21

    oklch(29.7% 0.102 10.1)

  • #342D00

    #342D00

    oklch(29.6% 0.061 100.1)

  • #003533

    #003533

    oklch(29.7% 0.051 190.7)

  • #25235E

    #25235E

    oklch(29.7% 0.102 279.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #540D21 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.