#340F04

Closest named color: Deep Brown (#410200). oklch(22.8% 0.063 38.3), rgb(52, 15, 4).

Aa

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

About this color

#340F04 is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.063 and its hue 38°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.034 away. White text reads best on it, at 17.26:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.063)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.21:1
White text17.26:1

Values

HEX#340F04
RGBrgb(52, 15, 4)
HSLhsl(14, 86%, 11%)
OKLCHoklch(22.8% 0.063 38.3)

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 #340F04 17.26:1 AAA Lc -106.2 Preferred for body text
Black text on #340F04 1.21:1 Fails Lc 0.0 Not readable
#340F04 text on white 17.26:1 AAA Lc 103.8 Preferred for body text
#340F04 text on black 1.21: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

    #F3D0C5

    oklch(88.4% 0.042 38.2)

  4. Step 300

    300

    #ECB09E

    oklch(80.8% 0.075 37.4)

  5. Step 400

    400

    #E08568

    oklch(70.7% 0.12 38.4)

  6. Step 500

    500

    #D5623D

    oklch(63.1% 0.154 38.2)

  7. Step 600

    600

    #C04518

    oklch(55.5% 0.167 38.3)

  8. Step 700

    700

    #A53607

    oklch(49.1% 0.154 38.6)

  9. Step 800

    800

    #862E0D

    oklch(42.7% 0.128 38.6)

  10. Step 900

    900

    #6C2A14

    oklch(37.6% 0.1 38.3)

  11. Step 950

    950 (this color)

    #340F04

    oklch(22.8% 0.063 38.3)

Export this scale for Tailwind in the Tailwind colors tool

#340F04 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)#1916030.064
Deuteranopia (no green cones)#231E030.057
Tritanopia (no blue cones)#3A060C0.028
Achromatopsia (no color)#1B1B1B0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #340F04

    #340F04

    oklch(22.8% 0.063 38.3)

  • #002129

    #002129

    oklch(22.9% 0.041 217.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340F04

    #340F04

    oklch(22.8% 0.063 38.3)

  • #340D16

    #340D16

    oklch(22.9% 0.063 9.6)

  • #2B1700

    #2B1700

    oklch(22.7% 0.05 68.4)

Open the analogous palette in the generator

Split complementary

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

  • #340F04

    #340F04

    oklch(22.8% 0.063 38.3)

  • #002220

    #002220

    oklch(22.7% 0.039 189.1)

  • #001E38

    #001E38

    oklch(23% 0.062 248)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340F04

    #340F04

    oklch(22.8% 0.063 38.3)

  • #002413

    #002413

    oklch(22.9% 0.053 158.5)

  • #161839

    #161839

    oklch(22.8% 0.063 277.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340F04

    #340F04

    oklch(22.8% 0.063 38.3)

  • #142100

    #142100

    oklch(22.7% 0.059 127.9)

  • #002129

    #002129

    oklch(22.9% 0.041 217.2)

  • #251333

    #251333

    oklch(22.9% 0.063 308.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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