#340517

Closest named color: Dark Maroon (#3C0008). oklch(21.8% 0.076 2.5), rgb(52, 5, 23).

Aa

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

About this color

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

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

Values

HEX#340517
RGBrgb(52, 5, 23)
HSLhsl(337, 82%, 11%)
OKLCHoklch(21.8% 0.076 2.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 #340517 17.79:1 AAA Lc -106.3 Preferred for body text
Black text on #340517 1.18:1 Fails Lc 0.0 Not readable
#340517 text on white 17.79:1 AAA Lc 104.0 Preferred for body text
#340517 text on black 1.18: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

    #FAE3E8

    oklch(93.6% 0.026 2.8)

  3. Step 200

    200

    #F7CCD6

    oklch(88.5% 0.05 2.5)

  4. Step 300

    300

    #F2A8BB

    oklch(80.8% 0.09 2.5)

  5. Step 400

    400

    #E87799

    oklch(70.7% 0.143 2.3)

  6. Step 500

    500

    #DE4D80

    oklch(63.1% 0.185 2.4)

  7. Step 600

    600

    #C92769

    oklch(55.6% 0.2 2.5)

  8. Step 700

    700

    #AD1557

    oklch(49% 0.186 2.6)

  9. Step 800

    800

    #8D1848

    oklch(42.8% 0.154 2.4)

  10. Step 900

    900

    #711D3C

    oklch(37.7% 0.12 2.4)

  11. Step 950

    950 (this color)

    #340517

    oklch(21.8% 0.076 2.5)

Export this scale for Tailwind in the Tailwind colors tool

#340517 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)#1012170.085
Deuteranopia (no green cones)#1D1B160.076
Tritanopia (no blue cones)#39000C0.022
Achromatopsia (no color)#1818180.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #340517

    #340517

    oklch(21.8% 0.076 2.5)

  • #00201C

    #00201C

    oklch(21.9% 0.039 183.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340517

    #340517

    oklch(21.8% 0.076 2.5)

  • #2D0829

    #2D0829

    oklch(21.7% 0.077 332.5)

  • #360602

    #360602

    oklch(21.8% 0.077 31.4)

Open the analogous palette in the generator

Split complementary

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

  • #340517

    #340517

    oklch(21.8% 0.076 2.5)

  • #00210C

    #00210C

    oklch(21.7% 0.057 152.3)

  • #001F24

    #001F24

    oklch(21.9% 0.038 209.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340517

    #340517

    oklch(21.8% 0.076 2.5)

  • #161E00

    #161E00

    oklch(21.9% 0.054 122.6)

  • #001C30

    #001C30

    oklch(21.7% 0.052 242.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340517

    #340517

    oklch(21.8% 0.076 2.5)

  • #211900

    #211900

    oklch(21.7% 0.044 92.8)

  • #00201C

    #00201C

    oklch(21.9% 0.039 183.2)

  • #0F153D

    #0F153D

    oklch(21.9% 0.077 272)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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