#340F0F

Closest named color: Dark Maroon (#3C0008). oklch(23% 0.06 23), rgb(52, 15, 15).

Aa

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

About this color

#340F0F is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.060 and its hue 23°. 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.19:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.060)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.22:1
White text17.19:1

Values

HEX#340F0F
RGBrgb(52, 15, 15)
HSLhsl(0, 55%, 13%)
OKLCHoklch(23% 0.06 23)

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 #340F0F 17.19:1 AAA Lc -106.1 Preferred for body text
Black text on #340F0F 1.22:1 Fails Lc 0.0 Not readable
#340F0F text on white 17.19:1 AAA Lc 103.7 Preferred for body text
#340F0F text on black 1.22: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

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F7E5E3

    oklch(93.6% 0.02 25.2)

  3. Step 200

    200

    #F2D0CD

    oklch(88.5% 0.039 23.9)

  4. Step 300

    300

    #EBAFAB

    oklch(80.8% 0.071 23.1)

  5. Step 400

    400

    #DF837F

    oklch(70.8% 0.114 23)

  6. Step 500

    500

    #D3615F

    oklch(63.2% 0.145 23.1)

  7. Step 600

    600

    #BE4445

    oklch(55.6% 0.157 23.3)

  8. Step 700

    700

    #A43437

    oklch(49.1% 0.147 22.9)

  9. Step 800

    800

    #852C2E

    oklch(42.7% 0.122 22.7)

  10. Step 900

    900

    #6B2929

    oklch(37.7% 0.095 22.8)

  11. Step 950

    950 (this color)

    #340F0F

    oklch(23% 0.06 23)

Export this scale for Tailwind in the Tailwind colors tool

#340F0F 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)#18160F0.064
Deuteranopia (no green cones)#221E0E0.058
Tritanopia (no blue cones)#3A080F0.018
Achromatopsia (no color)#1B1B1B0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #340F0F

    #340F0F

    oklch(23% 0.06 23)

  • #002225

    #002225

    oklch(23% 0.039 203.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340F0F

    #340F0F

    oklch(23% 0.06 23)

  • #310F1F

    #310F1F

    oklch(23% 0.059 353.4)

  • #311300

    #311300

    oklch(22.9% 0.058 52.5)

Open the analogous palette in the generator

Split complementary

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

  • #340F0F

    #340F0F

    oklch(23% 0.06 23)

  • #00231B

    #00231B

    oklch(22.9% 0.043 174.1)

  • #00202F

    #00202F

    oklch(22.9% 0.047 232.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340F0F

    #340F0F

    oklch(23% 0.06 23)

  • #082408

    #082408

    oklch(23.1% 0.061 143.3)

  • #0D1B39

    #0D1B39

    oklch(22.9% 0.061 263.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340F0F

    #340F0F

    oklch(23% 0.06 23)

  • #1D1F00

    #1D1F00

    oklch(22.9% 0.051 113.2)

  • #002225

    #002225

    oklch(23% 0.039 203.3)

  • #1E1636

    #1E1636

    oklch(22.9% 0.06 292.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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