#540F23

Closest named color: Burgundy (#610023). oklch(29.9% 0.1 8.9), rgb(84, 15, 35).

Aa

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

About this color

#540F23 is a dark, moderately saturated red. In OKLCH its lightness is 30%, its chroma 0.100 and its hue 9°. 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.28:1.

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

Values

HEX#540F23
RGBrgb(84, 15, 35)
HSLhsl(343, 70%, 19%)
OKLCHoklch(29.9% 0.1 8.9)

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 #540F23 14.28:1 AAA Lc -103.3 Preferred for body text
Black text on #540F23 1.46:1 Fails Lc 0.0 Not readable
#540F23 text on white 14.28:1 AAA Lc 100.2 Preferred for body text
#540F23 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

    #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

    #FFA2B2

    oklch(80.9% 0.112 8.7)

  5. Step 400

    400

    #FE6388

    oklch(70.7% 0.19 8.8)

  6. Step 500

    500

    #F71A6A

    oklch(63.1% 0.243 9)

  7. Step 600

    600

    #D40058

    oklch(55.7% 0.223 8.9)

  8. Step 700

    700

    #B30049

    oklch(49.1% 0.196 8.9)

  9. Step 800

    800

    #94003B

    oklch(42.7% 0.171 8.9)

  10. Step 900

    900

    #7D0031

    oklch(37.7% 0.151 8.7)

  11. Step 950

    950 (this color)

    #540F23

    oklch(29.9% 0.1 8.9)

Export this scale for Tailwind in the Tailwind colors tool

#540F23 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)#2121230.112
Deuteranopia (no green cones)#332F210.101
Tritanopia (no blue cones)#5C00170.025
Achromatopsia (no color)#2A2A2A0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #540F23

    #540F23

    oklch(29.9% 0.1 8.9)

  • #003633

    #003633

    oklch(30% 0.052 188.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #540F23

    #540F23

    oklch(29.9% 0.1 8.9)

  • #4C133E

    #4C133E

    oklch(30% 0.101 339.1)

  • #531600

    #531600

    oklch(29.9% 0.096 39)

Open the analogous palette in the generator

Split complementary

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

  • #540F23

    #540F23

    oklch(29.9% 0.1 8.9)

  • #003820

    #003820

    oklch(30% 0.07 158.3)

  • #003440

    #003440

    oklch(30% 0.054 218.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #540F23

    #540F23

    oklch(29.9% 0.1 8.9)

  • #213500

    #213500

    oklch(30% 0.08 129)

  • #002F54

    #002F54

    oklch(29.9% 0.082 248.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #540F23

    #540F23

    oklch(29.9% 0.1 8.9)

  • #362E00

    #362E00

    oklch(30.1% 0.062 98.8)

  • #003633

    #003633

    oklch(30% 0.052 188.8)

  • #25245E

    #25245E

    oklch(29.9% 0.101 279.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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