#340A1F

Closest named color: Dark Plum (#3F012C). oklch(22.8% 0.071 353.5), rgb(52, 10, 31).

Aa

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

About this color

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

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

Values

HEX#340A1F
RGBrgb(52, 10, 31)
HSLhsl(330, 68%, 12%)
OKLCHoklch(22.8% 0.071 353.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 #340A1F 17.36:1 AAA Lc -106.2 Preferred for body text
Black text on #340A1F 1.20:1 Fails Lc 0.0 Not readable
#340A1F text on white 17.36:1 AAA Lc 103.8 Preferred for body text
#340A1F text on black 1.20: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

    #F8E4EB

    oklch(93.7% 0.024 354.3)

  3. Step 200

    200

    #F3CDDB

    oklch(88.5% 0.046 353.9)

  4. Step 300

    300

    #EDAAC5

    oklch(80.9% 0.085 353.3)

  5. Step 400

    400

    #E07BA7

    oklch(70.7% 0.134 353.5)

  6. Step 500

    500

    #D55491

    oklch(63.1% 0.173 353.8)

  7. Step 600

    600

    #C0337C

    oklch(55.7% 0.188 353.4)

  8. Step 700

    700

    #A52468

    oklch(49.1% 0.174 353.7)

  9. Step 800

    800

    #862055

    oklch(42.7% 0.145 353.4)

  10. Step 900

    900

    #6C2146

    oklch(37.6% 0.113 353.5)

  11. Step 950

    950 (this color)

    #340A1F

    oklch(22.8% 0.071 353.5)

Export this scale for Tailwind in the Tailwind colors tool

#340A1F 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)#1115200.079
Deuteranopia (no green cones)#1D1D1E0.071
Tritanopia (no blue cones)#3907130.025
Achromatopsia (no color)#1A1A1A0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #340A1F

    #340A1F

    oklch(22.8% 0.071 353.5)

  • #00231B

    #00231B

    oklch(22.9% 0.043 174.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340A1F

    #340A1F

    oklch(22.8% 0.071 353.5)

  • #2C0E2F

    #2C0E2F

    oklch(22.8% 0.071 323.9)

  • #370A0B

    #370A0B

    oklch(22.8% 0.071 23.7)

Open the analogous palette in the generator

Split complementary

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

  • #340A1F

    #340A1F

    oklch(22.8% 0.071 353.5)

  • #022403

    #022403

    oklch(22.7% 0.071 143.4)

  • #002225

    #002225

    oklch(23% 0.039 203.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340A1F

    #340A1F

    oklch(22.8% 0.071 353.5)

  • #1D1F00

    #1D1F00

    oklch(22.9% 0.051 113.2)

  • #00202F

    #00202F

    oklch(22.9% 0.047 232.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340A1F

    #340A1F

    oklch(22.8% 0.071 353.5)

  • #271A00

    #271A00

    oklch(22.8% 0.047 83.1)

  • #00231B

    #00231B

    oklch(22.9% 0.043 174.1)

  • #0A1A3D

    #0A1A3D

    oklch(22.8% 0.071 263.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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