#340408

Closest named color: Dark Maroon (#3C0008). oklch(21.2% 0.076 21.5), rgb(52, 4, 8).

Aa

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

About this color

#340408 is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.076 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.020 away. White text reads best on it, at 17.99:1.

Hue familyReds
Lightnessvery dark (21%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.16:1
White text17.99:1

Values

HEX#340408
RGBrgb(52, 4, 8)
HSLhsl(355, 86%, 11%)
OKLCHoklch(21.2% 0.076 21.5)

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 #340408 17.99:1 AAA Lc -106.4 Preferred for body text
Black text on #340408 1.16:1 Fails Lc 0.0 Not readable
#340408 text on white 17.99:1 AAA Lc 104.1 Preferred for body text
#340408 text on black 1.16: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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E2

    oklch(93.5% 0.026 20.5)

  3. Step 200

    200

    #F9CDCB

    oklch(88.6% 0.05 21.2)

  4. Step 300

    300

    #F5AAA7

    oklch(80.9% 0.089 21.8)

  5. Step 400

    400

    #ED7878

    oklch(70.7% 0.145 21.4)

  6. Step 500

    500

    #E34F56

    oklch(63.1% 0.183 21.4)

  7. Step 600

    600

    #CE283B

    oklch(55.5% 0.199 21.4)

  8. Step 700

    700

    #B2162D

    oklch(49.1% 0.186 21.5)

  9. Step 800

    800

    #911826

    oklch(42.8% 0.155 21.5)

  10. Step 900

    900

    #741E23

    oklch(37.7% 0.119 21.9)

  11. Step 950

    950 (this color)

    #340408

    oklch(21.2% 0.076 21.5)

Export this scale for Tailwind in the Tailwind colors tool

#340408 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)#1210080.083
Deuteranopia (no green cones)#1E1A070.075
Tritanopia (no blue cones)#3A00060.015
Achromatopsia (no color)#1717170.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #340408

    #340408

    oklch(21.2% 0.076 21.5)

  • #001E20

    #001E20

    oklch(21.4% 0.036 201)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340408

    #340408

    oklch(21.2% 0.076 21.5)

  • #30051D

    #30051D

    oklch(21.2% 0.075 350.8)

  • #2C1000

    #2C1000

    oklch(21.3% 0.055 51.8)

Open the analogous palette in the generator

Split complementary

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

  • #340408

    #340408

    oklch(21.2% 0.076 21.5)

  • #001F16

    #001F16

    oklch(21.3% 0.042 170.2)

  • #001C29

    #001C29

    oklch(21.2% 0.043 231.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340408

    #340408

    oklch(21.2% 0.076 21.5)

  • #022000

    #022000

    oklch(21.2% 0.07 141.2)

  • #04163B

    #04163B

    oklch(21.2% 0.076 261.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340408

    #340408

    oklch(21.2% 0.076 21.5)

  • #1A1B00

    #1A1B00

    oklch(21.4% 0.047 111.7)

  • #001E20

    #001E20

    oklch(21.4% 0.036 201)

  • #1B0F38

    #1B0F38

    oklch(21.3% 0.076 292.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #340408 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.