#340C04

Closest named color: Dark Maroon (#3C0008). oklch(22.3% 0.067 34.7), rgb(52, 12, 4).

Aa

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

About this color

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

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

Values

HEX#340C04
RGBrgb(52, 12, 4)
HSLhsl(10, 86%, 11%)
OKLCHoklch(22.3% 0.067 34.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 #340C04 17.49:1 AAA Lc -106.3 Preferred for body text
Black text on #340C04 1.20:1 Fails Lc 0.0 Not readable
#340C04 text on white 17.49:1 AAA Lc 103.9 Preferred for body text
#340C04 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

    #F9E5E0

    oklch(93.7% 0.023 34.3)

  3. Step 200

    200

    #F5D0C6

    oklch(88.6% 0.044 35.6)

  4. Step 300

    300

    #EFAF9F

    oklch(81% 0.079 34.5)

  5. Step 400

    400

    #E4826A

    oklch(70.8% 0.126 34.7)

  6. Step 500

    500

    #D95E40

    oklch(63.1% 0.161 35)

  7. Step 600

    600

    #C43F1E

    oklch(55.5% 0.175 34.7)

  8. Step 700

    700

    #A92F0F

    oklch(49% 0.163 34.6)

  9. Step 800

    800

    #892911

    oklch(42.6% 0.135 34.7)

  10. Step 900

    900

    #6F2716

    oklch(37.7% 0.106 34.6)

  11. Step 950

    950 (this color)

    #340C04

    oklch(22.3% 0.067 34.7)

Export this scale for Tailwind in the Tailwind colors tool

#340C04 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.068
Deuteranopia (no green cones)#211D030.063
Tritanopia (no blue cones)#3A030A0.026
Achromatopsia (no color)#1919190.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #340C04

    #340C04

    oklch(22.3% 0.067 34.7)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340C04

    #340C04

    oklch(22.3% 0.067 34.7)

  • #330A17

    #330A17

    oklch(22.3% 0.067 5)

  • #2B1500

    #2B1500

    oklch(22.2% 0.05 63.7)

Open the analogous palette in the generator

Split complementary

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

  • #340C04

    #340C04

    oklch(22.3% 0.067 34.7)

  • #00211E

    #00211E

    oklch(22.3% 0.039 186.2)

  • #001D33

    #001D33

    oklch(22.3% 0.056 244.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340C04

    #340C04

    oklch(22.3% 0.067 34.7)

  • #00220F

    #00220F

    oklch(22.1% 0.055 155)

  • #13173A

    #13173A

    oklch(22.4% 0.067 274.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340C04

    #340C04

    oklch(22.3% 0.067 34.7)

  • #161F00

    #161F00

    oklch(22.2% 0.055 123.7)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

  • #231134

    #231134

    oklch(22.3% 0.068 305.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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