#340A17

Closest named color: Dark Maroon (#3C0008). oklch(22.5% 0.068 5.7), rgb(52, 10, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (22%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.20:1
White text17.47:1

Values

HEX#340A17
RGBrgb(52, 10, 23)
HSLhsl(341, 68%, 12%)
OKLCHoklch(22.5% 0.068 5.7)

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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F9E4E7

    oklch(93.7% 0.023 7.7)

  3. Step 200

    200

    #F4CED5

    oklch(88.6% 0.044 5.5)

  4. Step 300

    300

    #EEABB9

    oklch(80.8% 0.08 5.2)

  5. Step 400

    400

    #E37C95

    oklch(70.7% 0.129 5.4)

  6. Step 500

    500

    #D7567B

    oklch(63% 0.165 5.3)

  7. Step 600

    600

    #C33664

    oklch(55.6% 0.179 5.6)

  8. Step 700

    700

    #A82753

    oklch(49.2% 0.167 5.6)

  9. Step 800

    800

    #882344

    oklch(42.7% 0.137 5.5)

  10. Step 900

    900

    #6E2339

    oklch(37.8% 0.108 5.9)

  11. Step 950

    950 (this color)

    #340A17

    oklch(22.5% 0.068 5.7)

Export this scale for Tailwind in the Tailwind colors tool

#340A17 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)#1314170.076
Deuteranopia (no green cones)#1E1D160.070
Tritanopia (no blue cones)#39050F0.018
Achromatopsia (no color)#1A1A1A0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #340A17

    #340A17

    oklch(22.5% 0.068 5.7)

  • #00221E

    #00221E

    oklch(22.6% 0.04 183.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340A17

    #340A17

    oklch(22.5% 0.068 5.7)

  • #2E0D28

    #2E0D28

    oklch(22.6% 0.067 335.3)

  • #350C03

    #350C03

    oklch(22.5% 0.069 35.8)

Open the analogous palette in the generator

Split complementary

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

  • #340A17

    #340A17

    oklch(22.5% 0.068 5.7)

  • #002310

    #002310

    oklch(22.5% 0.055 155.5)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340A17

    #340A17

    oklch(22.5% 0.068 5.7)

  • #152000

    #152000

    oklch(22.5% 0.057 125.9)

  • #001D34

    #001D34

    oklch(22.3% 0.057 245.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340A17

    #340A17

    oklch(22.5% 0.068 5.7)

  • #221B00

    #221B00

    oklch(22.4% 0.046 95.7)

  • #00221E

    #00221E

    oklch(22.6% 0.04 183.6)

  • #14173B

    #14173B

    oklch(22.5% 0.068 275.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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