#340C02

Closest named color: Deep Brown (#410200). oklch(22.3% 0.068 37.6), rgb(52, 12, 2).

Aa

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

About this color

#340C02 is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.068 and its hue 38°. Its hue sits on the warm side of the wheel. The nearest named color is Deep Brown (#410200), ΔE 0.032 away. White text reads best on it, at 17.50:1.

Hue familyReds
Lightnessvery dark (22%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameDeep Brown (#410200)
Black text1.19:1
White text17.50:1

Values

HEX#340C02
RGBrgb(52, 12, 2)
HSLhsl(12, 93%, 11%)
OKLCHoklch(22.3% 0.068 37.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 #340C02 17.50:1 AAA Lc -106.3 Preferred for body text
Black text on #340C02 1.19:1 Fails Lc 0.0 Not readable
#340C02 text on white 17.50:1 AAA Lc 103.9 Preferred for body text
#340C02 text on black 1.19: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

    #FCF3F0

    oklch(97% 0.011 39.4)

  2. Step 100

    100

    #F9E5DF

    oklch(93.6% 0.023 37.4)

  3. Step 200

    200

    #F5D0C4

    oklch(88.6% 0.045 38.8)

  4. Step 300

    300

    #EFAF9C

    oklch(80.9% 0.08 37.2)

  5. Step 400

    400

    #E48265

    oklch(70.7% 0.128 37.3)

  6. Step 500

    500

    #D95E38

    oklch(63.1% 0.164 37.5)

  7. Step 600

    600

    #C53F0B

    oklch(55.6% 0.179 37.6)

  8. Step 700

    700

    #A83100

    oklch(49% 0.162 37.4)

  9. Step 800

    800

    #8A2905

    oklch(42.7% 0.138 37.4)

  10. Step 900

    900

    #6F2711

    oklch(37.7% 0.108 37)

  11. Step 950

    950 (this color)

    #340C02

    oklch(22.3% 0.068 37.6)

Export this scale for Tailwind in the Tailwind colors tool

#340C02 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)#1814010.068
Deuteranopia (no green cones)#221D010.062
Tritanopia (no blue cones)#3A030A0.028
Achromatopsia (no color)#1919190.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #340C02

    #340C02

    oklch(22.3% 0.068 37.6)

  • #001F27

    #001F27

    oklch(22.1% 0.04 218.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340C02

    #340C02

    oklch(22.3% 0.068 37.6)

  • #340A15

    #340A15

    oklch(22.4% 0.068 8.7)

  • #2A1600

    #2A1600

    oklch(22.3% 0.049 67.6)

Open the analogous palette in the generator

Split complementary

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

  • #340C02

    #340C02

    oklch(22.3% 0.068 37.6)

  • #00211E

    #00211E

    oklch(22.3% 0.039 186.2)

  • #001C35

    #001C35

    oklch(22.1% 0.06 248.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340C02

    #340C02

    oklch(22.3% 0.068 37.6)

  • #002211

    #002211

    oklch(22.2% 0.052 157.5)

  • #15163A

    #15163A

    oklch(22.3% 0.068 278.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340C02

    #340C02

    oklch(22.3% 0.068 37.6)

  • #132000

    #132000

    oklch(22.3% 0.058 128.2)

  • #001F27

    #001F27

    oklch(22.1% 0.04 218.1)

  • #241033

    #241033

    oklch(22.2% 0.068 308.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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