#340A21

Closest named color: Dark Plum (#3F012C). oklch(22.9% 0.073 350.6), rgb(52, 10, 33).

Aa

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

About this color

#340A21 is a very dark, moderately saturated red. In OKLCH its lightness is 23%, its chroma 0.073 and its hue 351°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.036 away. White text reads best on it, at 17.33:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.21:1
White text17.33:1

Values

HEX#340A21
RGBrgb(52, 10, 33)
HSLhsl(327, 68%, 12%)
OKLCHoklch(22.9% 0.073 350.6)

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 #340A21 17.33:1 AAA Lc -106.1 Preferred for body text
Black text on #340A21 1.21:1 Fails Lc 0.0 Not readable
#340A21 text on white 17.33:1 AAA Lc 103.8 Preferred for body text
#340A21 text on black 1.21: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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F8E3EC

    oklch(93.5% 0.026 349.8)

  3. Step 200

    200

    #F3CDDD

    oklch(88.5% 0.047 350.9)

  4. Step 300

    300

    #ECAAC8

    oklch(80.9% 0.086 350.3)

  5. Step 400

    400

    #E07AAC

    oklch(70.7% 0.138 350.5)

  6. Step 500

    500

    #D45397

    oklch(63.1% 0.177 350.6)

  7. Step 600

    600

    #BF3282

    oklch(55.6% 0.192 350.4)

  8. Step 700

    700

    #A4236D

    oklch(49.1% 0.177 350.8)

  9. Step 800

    800

    #852059

    oklch(42.6% 0.147 350.6)

  10. Step 900

    900

    #6C2149

    oklch(37.7% 0.115 351.1)

  11. Step 950

    950 (this color)

    #340A21

    oklch(22.9% 0.073 350.6)

Export this scale for Tailwind in the Tailwind colors tool

#340A21 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)#1016220.081
Deuteranopia (no green cones)#1C1D200.072
Tritanopia (no blue cones)#3808140.026
Achromatopsia (no color)#1A1A1A0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #340A21

    #340A21

    oklch(22.9% 0.073 350.6)

  • #00231A

    #00231A

    oklch(22.8% 0.044 171.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340A21

    #340A21

    oklch(22.9% 0.073 350.6)

  • #2B0E31

    #2B0E31

    oklch(22.8% 0.073 320.5)

  • #38090D

    #38090D

    oklch(22.9% 0.074 20.7)

Open the analogous palette in the generator

Split complementary

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

  • #340A21

    #340A21

    oklch(22.9% 0.073 350.6)

  • #052401

    #052401

    oklch(22.8% 0.072 140.5)

  • #002224

    #002224

    oklch(22.9% 0.039 200.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340A21

    #340A21

    oklch(22.9% 0.073 350.6)

  • #1E1F00

    #1E1F00

    oklch(23% 0.051 111.5)

  • #00202E

    #00202E

    oklch(22.8% 0.046 231)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340A21

    #340A21

    oklch(22.9% 0.073 350.6)

  • #281A00

    #281A00

    oklch(23% 0.047 81.2)

  • #00231A

    #00231A

    oklch(22.8% 0.044 171.9)

  • #071B3E

    #071B3E

    oklch(23% 0.072 260.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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