#340D04

Closest named color: Dark Maroon (#3C0008). oklch(22.5% 0.066 35.8), rgb(52, 13, 4).

Aa

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

About this color

#340D04 is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.066 and its hue 36°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.032 away. White text reads best on it, at 17.42:1.

Hue familyReds
Lightnessvery dark (22%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.20:1
White text17.42:1

Values

HEX#340D04
RGBrgb(52, 13, 4)
HSLhsl(11, 86%, 11%)
OKLCHoklch(22.5% 0.066 35.8)

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 #340D04 17.42:1 AAA Lc -106.2 Preferred for body text
Black text on #340D04 1.20:1 Fails Lc 0.0 Not readable
#340D04 text on white 17.42:1 AAA Lc 103.9 Preferred for body text
#340D04 text on black 1.20: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

    #FCF3F1

    oklch(97.1% 0.01 32.5)

  2. Step 100

    100

    #F8E5E0

    oklch(93.6% 0.022 35.1)

  3. Step 200

    200

    #F4D0C6

    oklch(88.5% 0.043 36)

  4. Step 300

    300

    #EEAF9E

    oklch(80.8% 0.078 35.7)

  5. Step 400

    400

    #E38369

    oklch(70.8% 0.125 36)

  6. Step 500

    500

    #D85F3F

    oklch(63.1% 0.16 35.8)

  7. Step 600

    600

    #C3411C

    oklch(55.6% 0.173 35.8)

  8. Step 700

    700

    #A8310D

    oklch(49.1% 0.161 35.6)

  9. Step 800

    800

    #882B10

    oklch(42.7% 0.132 36)

  10. Step 900

    900

    #6E2816

    oklch(37.7% 0.104 35.4)

  11. Step 950

    950 (this color)

    #340D04

    oklch(22.5% 0.066 35.8)

Export this scale for Tailwind in the Tailwind colors tool

#340D04 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)#1814030.067
Deuteranopia (no green cones)#221D030.060
Tritanopia (no blue cones)#3A040B0.027
Achromatopsia (no color)#1A1A1A0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #340D04

    #340D04

    oklch(22.5% 0.066 35.8)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340D04

    #340D04

    oklch(22.5% 0.066 35.8)

  • #330B17

    #330B17

    oklch(22.4% 0.065 5.7)

  • #2B1600

    #2B1600

    oklch(22.5% 0.05 66)

Open the analogous palette in the generator

Split complementary

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

  • #340D04

    #340D04

    oklch(22.5% 0.066 35.8)

  • #00211E

    #00211E

    oklch(22.3% 0.039 186.2)

  • #001D34

    #001D34

    oklch(22.3% 0.057 245.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340D04

    #340D04

    oklch(22.5% 0.066 35.8)

  • #002310

    #002310

    oklch(22.5% 0.055 155.5)

  • #14173A

    #14173A

    oklch(22.5% 0.067 275.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340D04

    #340D04

    oklch(22.5% 0.066 35.8)

  • #152000

    #152000

    oklch(22.5% 0.057 125.9)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

  • #231233

    #231233

    oklch(22.5% 0.064 305.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #340D04 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.