#340C1A

Closest named color: Dark Maroon (#3C0008). oklch(22.9% 0.066 2.3), rgb(52, 12, 26).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.21:1
White text17.30:1

Values

HEX#340C1A
RGBrgb(52, 12, 26)
HSLhsl(339, 63%, 13%)
OKLCHoklch(22.9% 0.066 2.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 #340C1A 17.30:1 AAA Lc -106.2 Preferred for body text
Black text on #340C1A 1.21:1 Fails Lc 0.0 Not readable
#340C1A text on white 17.30:1 AAA Lc 103.8 Preferred for body text
#340C1A 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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E8

    oklch(93.6% 0.022 3.8)

  3. Step 200

    200

    #F3CED7

    oklch(88.5% 0.043 1.6)

  4. Step 300

    300

    #ECACBC

    oklch(80.9% 0.078 2.5)

  5. Step 400

    400

    #E07E9A

    oklch(70.8% 0.124 2.4)

  6. Step 500

    500

    #D45981

    oklch(63.1% 0.159 2.5)

  7. Step 600

    600

    #BF3A6B

    oklch(55.6% 0.173 2.1)

  8. Step 700

    700

    #A52B59

    oklch(49.2% 0.161 2.5)

  9. Step 800

    800

    #862549

    oklch(42.7% 0.134 2.1)

  10. Step 900

    900

    #6C253D

    oklch(37.8% 0.104 2.5)

  11. Step 950

    950 (this color)

    #340C1A

    oklch(22.9% 0.066 2.3)

Export this scale for Tailwind in the Tailwind colors tool

#340C1A 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)#14161A0.074
Deuteranopia (no green cones)#1F1D190.065
Tritanopia (no blue cones)#3907120.018
Achromatopsia (no color)#1B1B1B0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #340C1A

    #340C1A

    oklch(22.9% 0.066 2.3)

  • #00231E

    #00231E

    oklch(23% 0.041 181.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340C1A

    #340C1A

    oklch(22.9% 0.066 2.3)

  • #2E0F2A

    #2E0F2A

    oklch(23% 0.066 332.7)

  • #350D07

    #350D07

    oklch(22.7% 0.066 31.5)

Open the analogous palette in the generator

Split complementary

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

  • #340C1A

    #340C1A

    oklch(22.9% 0.066 2.3)

  • #00240E

    #00240E

    oklch(22.8% 0.059 152.7)

  • #002128

    #002128

    oklch(22.8% 0.04 214.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340C1A

    #340C1A

    oklch(22.9% 0.066 2.3)

  • #182000

    #182000

    oklch(22.7% 0.055 122.1)

  • #001F34

    #001F34

    oklch(22.9% 0.055 242.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340C1A

    #340C1A

    oklch(22.9% 0.066 2.3)

  • #241C00

    #241C00

    oklch(22.9% 0.047 94)

  • #00231E

    #00231E

    oklch(23% 0.041 181.3)

  • #13193B

    #13193B

    oklch(22.9% 0.066 272.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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