#340317

Closest named color: Dark Maroon (#3C0008). oklch(21.5% 0.08 1.3), rgb(52, 3, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (22%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.17:1
White text17.92:1

Values

HEX#340317
RGBrgb(52, 3, 23)
HSLhsl(336, 89%, 11%)
OKLCHoklch(21.5% 0.08 1.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 #340317 17.92:1 AAA Lc -106.3 Preferred for body text
Black text on #340317 1.17:1 Fails Lc 0.0 Not readable
#340317 text on white 17.92:1 AAA Lc 104.0 Preferred for body text
#340317 text on black 1.17: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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FBE3E8

    oklch(93.7% 0.027 3.4)

  3. Step 200

    200

    #F8CBD7

    oklch(88.4% 0.053 0.4)

  4. Step 300

    300

    #F4A7BC

    oklch(80.8% 0.094 1.6)

  5. Step 400

    400

    #EB749A

    oklch(70.7% 0.151 1.5)

  6. Step 500

    500

    #E04982

    oklch(63.1% 0.192 1.2)

  7. Step 600

    600

    #CC1D6B

    oklch(55.6% 0.21 1.5)

  8. Step 700

    700

    #B00859

    oklch(49.2% 0.195 1.6)

  9. Step 800

    800

    #8F1149

    oklch(42.8% 0.162 1.5)

  10. Step 900

    900

    #731A3D

    oklch(37.8% 0.126 1.6)

  11. Step 950

    950 (this color)

    #340317

    oklch(21.5% 0.08 1.3)

Export this scale for Tailwind in the Tailwind colors tool

#340317 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)#0E11170.091
Deuteranopia (no green cones)#1C1A160.079
Tritanopia (no blue cones)#39000B0.024
Achromatopsia (no color)#1717170.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #340317

    #340317

    oklch(21.5% 0.08 1.3)

  • #001F1B

    #001F1B

    oklch(21.5% 0.038 182.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340317

    #340317

    oklch(21.5% 0.08 1.3)

  • #2D072A

    #2D072A

    oklch(21.7% 0.079 331.3)

  • #360401

    #360401

    oklch(21.5% 0.08 31.1)

Open the analogous palette in the generator

Split complementary

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

  • #340317

    #340317

    oklch(21.5% 0.08 1.3)

  • #00210B

    #00210B

    oklch(21.7% 0.058 151.4)

  • #001E23

    #001E23

    oklch(21.5% 0.037 210.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340317

    #340317

    oklch(21.5% 0.08 1.3)

  • #161D00

    #161D00

    oklch(21.6% 0.052 121.4)

  • #001C2E

    #001C2E

    oklch(21.6% 0.05 240.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340317

    #340317

    oklch(21.5% 0.08 1.3)

  • #211800

    #211800

    oklch(21.4% 0.044 90.2)

  • #001F1B

    #001F1B

    oklch(21.5% 0.038 182.9)

  • #0D143D

    #0D143D

    oklch(21.5% 0.079 270.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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