#340F12

Closest named color: Dark Maroon (#3C0008). oklch(23.1% 0.06 18.2), rgb(52, 15, 18).

Aa

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

About this color

#340F12 is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.060 and its hue 18°. 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.16:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.22:1
White text17.16:1

Values

HEX#340F12
RGBrgb(52, 15, 18)
HSLhsl(355, 55%, 13%)
OKLCHoklch(23.1% 0.06 18.2)

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 #340F12 17.16:1 AAA Lc -106.1 Preferred for body text
Black text on #340F12 1.22:1 Fails Lc 0.0 Not readable
#340F12 text on white 17.16:1 AAA Lc 103.7 Preferred for body text
#340F12 text on black 1.22: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

    #F7E5E5

    oklch(93.6% 0.02 17.5)

  3. Step 200

    200

    #F2CFCF

    oklch(88.4% 0.039 17.9)

  4. Step 300

    300

    #EBAFAF

    oklch(80.9% 0.07 18.7)

  5. Step 400

    400

    #DE8285

    oklch(70.6% 0.114 18.3)

  6. Step 500

    500

    #D26067

    oklch(63.1% 0.144 18.4)

  7. Step 600

    600

    #BD434F

    oklch(55.5% 0.157 18.1)

  8. Step 700

    700

    #A33440

    oklch(49.2% 0.146 18.2)

  9. Step 800

    800

    #842C35

    oklch(42.6% 0.121 17.9)

  10. Step 900

    900

    #6B292E

    oklch(37.8% 0.094 18.2)

  11. Step 950

    950 (this color)

    #340F12

    oklch(23.1% 0.06 18.2)

Export this scale for Tailwind in the Tailwind colors tool

#340F12 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)#1816120.064
Deuteranopia (no green cones)#211E110.060
Tritanopia (no blue cones)#3A09100.017
Achromatopsia (no color)#1B1B1B0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #340F12

    #340F12

    oklch(23.1% 0.06 18.2)

  • #002324

    #002324

    oklch(23.2% 0.04 197.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340F12

    #340F12

    oklch(23.1% 0.06 18.2)

  • #300F22

    #300F22

    oklch(22.9% 0.06 347.3)

  • #331201

    #331201

    oklch(23.1% 0.061 47.7)

Open the analogous palette in the generator

Split complementary

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

  • #340F12

    #340F12

    oklch(23.1% 0.06 18.2)

  • #002419

    #002419

    oklch(23.1% 0.047 168.2)

  • #00212E

    #00212E

    oklch(23.2% 0.045 228.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340F12

    #340F12

    oklch(23.1% 0.06 18.2)

  • #0D2305

    #0D2305

    oklch(23% 0.06 138)

  • #0A1D39

    #0A1D39

    oklch(23.3% 0.06 258.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340F12

    #340F12

    oklch(23.1% 0.06 18.2)

  • #1F1F00

    #1F1F00

    oklch(23.2% 0.05 109.8)

  • #002324

    #002324

    oklch(23.2% 0.04 197.6)

  • #1C1737

    #1C1737

    oklch(23% 0.06 287.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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