#340C0F

Closest named color: Dark Maroon (#3C0008). oklch(22.5% 0.064 19.6), rgb(52, 12, 15).

Aa

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

About this color

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

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

Values

HEX#340C0F
RGBrgb(52, 12, 15)
HSLhsl(356, 63%, 13%)
OKLCHoklch(22.5% 0.064 19.6)

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

    #F8E4E4

    oklch(93.5% 0.022 17.6)

  3. Step 200

    200

    #F4CFCE

    oklch(88.6% 0.042 19.8)

  4. Step 300

    300

    #EEADAD

    oklch(80.8% 0.077 18.9)

  5. Step 400

    400

    #E28081

    oklch(70.7% 0.121 19.9)

  6. Step 500

    500

    #D75C62

    oklch(63.1% 0.155 19.7)

  7. Step 600

    600

    #C23D49

    oklch(55.6% 0.169 19.6)

  8. Step 700

    700

    #A72E3A

    oklch(49.1% 0.157 19.8)

  9. Step 800

    800

    #882830

    oklch(42.7% 0.13 20)

  10. Step 900

    900

    #6D262B

    oklch(37.6% 0.101 19.3)

  11. Step 950

    950 (this color)

    #340C0F

    oklch(22.5% 0.064 19.6)

Export this scale for Tailwind in the Tailwind colors tool

#340C0F 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)#16150F0.070
Deuteranopia (no green cones)#201D0E0.065
Tritanopia (no blue cones)#3A050D0.017
Achromatopsia (no color)#1A1A1A0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #340C0F

    #340C0F

    oklch(22.5% 0.064 19.6)

  • #002123

    #002123

    oklch(22.5% 0.038 200.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340C0F

    #340C0F

    oklch(22.5% 0.064 19.6)

  • #300C20

    #300C20

    oklch(22.4% 0.064 349.2)

  • #311100

    #311100

    oklch(22.5% 0.06 49.2)

Open the analogous palette in the generator

Split complementary

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

  • #340C0F

    #340C0F

    oklch(22.5% 0.064 19.6)

  • #002218

    #002218

    oklch(22.4% 0.045 169.4)

  • #001F2C

    #001F2C

    oklch(22.4% 0.044 229.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340C0F

    #340C0F

    oklch(22.5% 0.064 19.6)

  • #092303

    #092303

    oklch(22.7% 0.065 139.4)

  • #081B39

    #081B39

    oklch(22.6% 0.063 259.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340C0F

    #340C0F

    oklch(22.5% 0.064 19.6)

  • #1E1D00

    #1E1D00

    oklch(22.5% 0.048 107.9)

  • #002123

    #002123

    oklch(22.5% 0.038 200.6)

  • #1C1537

    #1C1537

    oklch(22.5% 0.064 289.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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