#340C12

Closest named color: Dark Maroon (#3C0008). oklch(22.6% 0.064 15.1), rgb(52, 12, 18).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.20:1
White text17.39:1

Values

HEX#340C12
RGBrgb(52, 12, 18)
HSLhsl(351, 63%, 13%)
OKLCHoklch(22.6% 0.064 15.1)

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 #340C12 17.39:1 AAA Lc -106.2 Preferred for body text
Black text on #340C12 1.20:1 Fails Lc 0.0 Not readable
#340C12 text on white 17.39:1 AAA Lc 103.8 Preferred for body text
#340C12 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

    #FCF3F3

    oklch(97.1% 0.01 17.3)

  2. Step 100

    100

    #F8E4E5

    oklch(93.5% 0.022 14.1)

  3. Step 200

    200

    #F4CED0

    oklch(88.4% 0.043 14.4)

  4. Step 300

    300

    #EEADB1

    oklch(81% 0.077 14.8)

  5. Step 400

    400

    #E27F88

    oklch(70.7% 0.122 14.9)

  6. Step 500

    500

    #D65B6A

    oklch(63% 0.155 15.3)

  7. Step 600

    600

    #C23C52

    oklch(55.6% 0.17 15.2)

  8. Step 700

    700

    #A72D43

    oklch(49.2% 0.157 15)

  9. Step 800

    800

    #872737

    oklch(42.6% 0.13 15)

  10. Step 900

    900

    #6D2630

    oklch(37.7% 0.101 14.9)

  11. Step 950

    950 (this color)

    #340C12

    oklch(22.6% 0.064 15.1)

Export this scale for Tailwind in the Tailwind colors tool

#340C12 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)#1615120.070
Deuteranopia (no green cones)#201D110.065
Tritanopia (no blue cones)#3A050E0.017
Achromatopsia (no color)#1A1A1A0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #340C12

    #340C12

    oklch(22.6% 0.064 15.1)

  • #002122

    #002122

    oklch(22.5% 0.038 197.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340C12

    #340C12

    oklch(22.6% 0.064 15.1)

  • #300D23

    #300D23

    oklch(22.7% 0.065 344.8)

  • #330F00

    #330F00

    oklch(22.5% 0.065 44.8)

Open the analogous palette in the generator

Split complementary

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

  • #340C12

    #340C12

    oklch(22.6% 0.064 15.1)

  • #002316

    #002316

    oklch(22.7% 0.048 164.1)

  • #00202B

    #00202B

    oklch(22.6% 0.043 224.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340C12

    #340C12

    oklch(22.6% 0.064 15.1)

  • #0D2201

    #0D2201

    oklch(22.6% 0.064 135.3)

  • #041C39

    #041C39

    oklch(22.7% 0.064 254.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340C12

    #340C12

    oklch(22.6% 0.064 15.1)

  • #1F1D00

    #1F1D00

    oklch(22.6% 0.048 106)

  • #002122

    #002122

    oklch(22.5% 0.038 197.7)

  • #1A1638

    #1A1638

    oklch(22.6% 0.064 285.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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