#540F29

Closest named color: Burgundy (#610023). oklch(30.1% 0.102 3.1), rgb(84, 15, 41).

Aa

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

About this color

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

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

Values

HEX#540F29
RGBrgb(84, 15, 41)
HSLhsl(337, 70%, 19%)
OKLCHoklch(30.1% 0.102 3.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 #540F29 14.21:1 AAA Lc -103.2 Preferred for body text
Black text on #540F29 1.47:1 Fails Lc 0.0 Not readable
#540F29 text on white 14.21:1 AAA Lc 100.1 Preferred for body text
#540F29 text on black 1.47: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

    #FFF1F4

    oklch(97% 0.016 2.7)

  2. Step 100

    100

    #FFE1E7

    oklch(93.6% 0.034 4.1)

  3. Step 200

    200

    #FFC8D5

    oklch(88.5% 0.065 2.7)

  4. Step 300

    300

    #FFA1B9

    oklch(81% 0.115 3.4)

  5. Step 400

    400

    #FD6295

    oklch(70.8% 0.193 3)

  6. Step 500

    500

    #F5177B

    oklch(63.1% 0.246 3)

  7. Step 600

    600

    #D20066

    oklch(55.7% 0.224 3.3)

  8. Step 700

    700

    #B10056

    oklch(49% 0.198 2.8)

  9. Step 800

    800

    #930046

    oklch(42.8% 0.172 3)

  10. Step 900

    900

    #7C003A

    oklch(37.8% 0.152 3)

  11. Step 950

    950 (this color)

    #540F29

    oklch(30.1% 0.102 3.1)

Export this scale for Tailwind in the Tailwind colors tool

#540F29 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)#1F222A0.115
Deuteranopia (no green cones)#3230270.104
Tritanopia (no blue cones)#5C031A0.029
Achromatopsia (no color)#2B2B2B0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #540F29

    #540F29

    oklch(30.1% 0.102 3.1)

  • #003731

    #003731

    oklch(30.2% 0.054 183.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #540F29

    #540F29

    oklch(30.1% 0.102 3.1)

  • #4A1543

    #4A1543

    oklch(30.2% 0.101 333.4)

  • #561205

    #561205

    oklch(30.1% 0.102 33.1)

Open the analogous palette in the generator

Split complementary

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

  • #540F29

    #540F29

    oklch(30.1% 0.102 3.1)

  • #00391A

    #00391A

    oklch(30.2% 0.078 152.8)

  • #00353E

    #00353E

    oklch(30.2% 0.053 212.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #540F29

    #540F29

    oklch(30.1% 0.102 3.1)

  • #273400

    #273400

    oklch(30.2% 0.075 123.5)

  • #00314F

    #00314F

    oklch(30.1% 0.072 242.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #540F29

    #540F29

    oklch(30.1% 0.102 3.1)

  • #392D00

    #392D00

    oklch(30.2% 0.062 92.9)

  • #003731

    #003731

    oklch(30.2% 0.054 183.2)

  • #1F2660

    #1F2660

    oklch(30% 0.102 273.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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