#540C2B

Closest named color: Burgundy (#610023). oklch(29.9% 0.106 0.4), rgb(84, 12, 43).

Aa

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

About this color

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

Hue familyReds
Lightnessdark (30%)
Chromamoderately saturated (0.106)
Temperaturewarm
Nearest nameBurgundy (#610023)
Black text1.46:1
White text14.33:1

Values

HEX#540C2B
RGBrgb(84, 12, 43)
HSLhsl(334, 75%, 19%)
OKLCHoklch(29.9% 0.106 0.4)

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 #540C2B 14.33:1 AAA Lc -103.2 Preferred for body text
Black text on #540C2B 1.46:1 Fails Lc 0.0 Not readable
#540C2B text on white 14.33:1 AAA Lc 100.1 Preferred for body text
#540C2B text on black 1.46: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

    #FFF1F5

    oklch(97% 0.016 358)

  2. Step 100

    100

    #FFE1E9

    oklch(93.7% 0.035 359.8)

  3. Step 200

    200

    #FFC8D7

    oklch(88.5% 0.065 0.4)

  4. Step 300

    300

    #FFA0BD

    oklch(80.9% 0.117 0.3)

  5. Step 400

    400

    #FE5E9A

    oklch(70.6% 0.201 0.5)

  6. Step 500

    500

    #F70082

    oklch(63.2% 0.256 0.5)

  7. Step 600

    600

    #D0006D

    oklch(55.5% 0.225 0.3)

  8. Step 700

    700

    #B0005B

    oklch(49% 0.199 0.4)

  9. Step 800

    800

    #92004A

    oklch(42.7% 0.173 0.6)

  10. Step 900

    900

    #7B003E

    oklch(37.7% 0.153 0.2)

  11. Step 950

    950 (this color)

    #540C2B

    oklch(29.9% 0.106 0.4)

Export this scale for Tailwind in the Tailwind colors tool

#540C2B 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)#1D212C0.120
Deuteranopia (no green cones)#312F290.107
Tritanopia (no blue cones)#5C001A0.032
Achromatopsia (no color)#2A2A2A0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #540C2B

    #540C2B

    oklch(29.9% 0.106 0.4)

  • #00362F

    #00362F

    oklch(29.9% 0.054 181.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #540C2B

    #540C2B

    oklch(29.9% 0.106 0.4)

  • #491346

    #491346

    oklch(29.9% 0.106 330.2)

  • #570E07

    #570E07

    oklch(29.9% 0.106 30.1)

Open the analogous palette in the generator

Split complementary

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

  • #540C2B

    #540C2B

    oklch(29.9% 0.106 0.4)

  • #003816

    #003816

    oklch(29.8% 0.081 150.6)

  • #00343C

    #00343C

    oklch(29.8% 0.052 211.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #540C2B

    #540C2B

    oklch(29.9% 0.106 0.4)

  • #293200

    #293200

    oklch(29.8% 0.071 120)

  • #00314C

    #00314C

    oklch(29.9% 0.069 240.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #540C2B

    #540C2B

    oklch(29.9% 0.106 0.4)

  • #392C00

    #392C00

    oklch(29.9% 0.061 91.2)

  • #00362F

    #00362F

    oklch(29.9% 0.054 181.2)

  • #1B2662

    #1B2662

    oklch(29.9% 0.107 270.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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