#34040C

Closest named color: Dark Maroon (#3C0008). oklch(21.3% 0.076 16.7), rgb(52, 4, 12).

Aa

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

About this color

#34040C is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.076 and its hue 17°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.020 away. White text reads best on it, at 17.96:1.

Hue familyReds
Lightnessvery dark (21%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.16:1
White text17.96:1

Values

HEX#34040C
RGBrgb(52, 4, 12)
HSLhsl(350, 86%, 11%)
OKLCHoklch(21.3% 0.076 16.7)

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 #34040C 17.96:1 AAA Lc -106.4 Preferred for body text
Black text on #34040C 1.16:1 Fails Lc 0.0 Not readable
#34040C text on white 17.96:1 AAA Lc 104.0 Preferred for body text
#34040C text on black 1.16: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

    #FDF2F2

    oklch(97% 0.012 17.4)

  2. Step 100

    100

    #FBE3E4

    oklch(93.6% 0.026 14.7)

  3. Step 200

    200

    #F9CDCD

    oklch(88.6% 0.05 18.1)

  4. Step 300

    300

    #F5A9AC

    oklch(80.9% 0.09 16.6)

  5. Step 400

    400

    #EC7881

    oklch(70.8% 0.143 16.6)

  6. Step 500

    500

    #E24E61

    oklch(63.1% 0.183 16.7)

  7. Step 600

    600

    #CE2748

    oklch(55.7% 0.2 16.7)

  8. Step 700

    700

    #B11539

    oklch(49% 0.185 16.7)

  9. Step 800

    800

    #901830

    oklch(42.7% 0.153 16.6)

  10. Step 900

    900

    #741D2A

    oklch(37.7% 0.12 16.8)

  11. Step 950

    950 (this color)

    #34040C

    oklch(21.3% 0.076 16.7)

Export this scale for Tailwind in the Tailwind colors tool

#34040C 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)#11100C0.085
Deuteranopia (no green cones)#1E1A0B0.075
Tritanopia (no blue cones)#3A00070.016
Achromatopsia (no color)#1717170.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #34040C

    #34040C

    oklch(21.3% 0.076 16.7)

  • #001E1F

    #001E1F

    oklch(21.3% 0.036 197.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #34040C

    #34040C

    oklch(21.3% 0.076 16.7)

  • #300520

    #300520

    oklch(21.4% 0.077 346.7)

  • #2E0E00

    #2E0E00

    oklch(21.3% 0.059 46.7)

Open the analogous palette in the generator

Split complementary

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

  • #34040C

    #34040C

    oklch(21.3% 0.076 16.7)

  • #001F15

    #001F15

    oklch(21.3% 0.043 168)

  • #001D27

    #001D27

    oklch(21.4% 0.04 224.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #34040C

    #34040C

    oklch(21.3% 0.076 16.7)

  • #091F00

    #091F00

    oklch(21.3% 0.064 136.4)

  • #00173A

    #00173A

    oklch(21.2% 0.075 256.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #34040C

    #34040C

    oklch(21.3% 0.076 16.7)

  • #1C1A00

    #1C1A00

    oklch(21.3% 0.045 105.8)

  • #001E1F

    #001E1F

    oklch(21.3% 0.036 197.9)

  • #181039

    #181039

    oklch(21.2% 0.076 287)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #34040C 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.