#340401

Closest named color: Dark Maroon (#3C0008). oklch(21.1% 0.078 31.3), rgb(52, 4, 1).

Aa

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

About this color

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

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

Values

HEX#340401
RGBrgb(52, 4, 1)
HSLhsl(4, 96%, 10%)
OKLCHoklch(21.1% 0.078 31.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 #340401 18.04:1 AAA Lc -106.4 Preferred for body text
Black text on #340401 1.16:1 Fails Lc 0.0 Not readable
#340401 text on white 18.04:1 AAA Lc 104.1 Preferred for body text
#340401 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

    #FEF3F0

    oklch(97.2% 0.013 35.7)

  2. Step 100

    100

    #FBE4DF

    oklch(93.6% 0.026 32.2)

  3. Step 200

    200

    #F9CDC5

    oklch(88.4% 0.051 30.1)

  4. Step 300

    300

    #F6AB9C

    oklch(80.9% 0.092 31.7)

  5. Step 400

    400

    #EE7A66

    oklch(70.8% 0.147 31.2)

  6. Step 500

    500

    #E4503A

    oklch(63% 0.188 31.2)

  7. Step 600

    600

    #D02A12

    oklch(55.7% 0.204 31.3)

  8. Step 700

    700

    #B31800

    oklch(49% 0.189 31.3)

  9. Step 800

    800

    #921A08

    oklch(42.8% 0.157 31.4)

  10. Step 900

    900

    #751F12

    oklch(37.8% 0.122 31.5)

  11. Step 950

    950 (this color)

    #340401

    oklch(21.1% 0.078 31.3)

Export this scale for Tailwind in the Tailwind colors tool

#340401 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)#130F000.083
Deuteranopia (no green cones)#1F1A000.074
Tritanopia (no blue cones)#3A00040.018
Achromatopsia (no color)#1616160.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #340401

    #340401

    oklch(21.1% 0.078 31.3)

  • #001D22

    #001D22

    oklch(21.2% 0.037 210.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340401

    #340401

    oklch(21.1% 0.078 31.3)

  • #320316

    #320316

    oklch(21% 0.077 1.3)

  • #281200

    #281200

    oklch(21% 0.049 60.9)

Open the analogous palette in the generator

Split complementary

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

  • #340401

    #340401

    oklch(21.1% 0.078 31.3)

  • #001E19

    #001E19

    oklch(21.1% 0.038 179.9)

  • #001B2D

    #001B2D

    oklch(21.2% 0.049 240.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340401

    #340401

    oklch(21.1% 0.078 31.3)

  • #001F0A

    #001F0A

    oklch(20.9% 0.056 151.4)

  • #0D133B

    #0D133B

    oklch(21.1% 0.077 271.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340401

    #340401

    oklch(21.1% 0.078 31.3)

  • #151C00

    #151C00

    oklch(21.2% 0.051 121.7)

  • #001D22

    #001D22

    oklch(21.2% 0.037 210.5)

  • #1F0C35

    #1F0C35

    oklch(21% 0.077 301.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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