#340718

Closest named color: Dark Maroon (#3C0008). oklch(22.1% 0.073 2.3), rgb(52, 7, 24).

Aa

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

About this color

#340718 is a very dark, moderately saturated red. In OKLCH its lightness is 22%, its chroma 0.073 and its hue 2°. 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.65:1.

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

Values

HEX#340718
RGBrgb(52, 7, 24)
HSLhsl(337, 76%, 12%)
OKLCHoklch(22.1% 0.073 2.3)

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 #340718 17.65:1 AAA Lc -106.3 Preferred for body text
Black text on #340718 1.18:1 Fails Lc 0.0 Not readable
#340718 text on white 17.65:1 AAA Lc 103.9 Preferred for body text
#340718 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

    #F9E3E8

    oklch(93.5% 0.025 2.1)

  3. Step 200

    200

    #F6CDD6

    oklch(88.6% 0.048 3.3)

  4. Step 300

    300

    #F1A9BC

    oklch(80.9% 0.088 1.9)

  5. Step 400

    400

    #E67999

    oklch(70.7% 0.138 2.6)

  6. Step 500

    500

    #DB5181

    oklch(63.2% 0.177 2.1)

  7. Step 600

    600

    #C62D6A

    oklch(55.6% 0.193 2.2)

  8. Step 700

    700

    #AB1D58

    oklch(49.1% 0.179 2.4)

  9. Step 800

    800

    #8B1C48

    oklch(42.7% 0.149 2.4)

  10. Step 900

    900

    #701F3C

    oklch(37.7% 0.116 2.7)

  11. Step 950

    950 (this color)

    #340718

    oklch(22.1% 0.073 2.3)

Export this scale for Tailwind in the Tailwind colors tool

#340718 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)#1113180.082
Deuteranopia (no green cones)#1D1C170.075
Tritanopia (no blue cones)#39020E0.021
Achromatopsia (no color)#1919190.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #340718

    #340718

    oklch(22.1% 0.073 2.3)

  • #00211C

    #00211C

    oklch(22.2% 0.04 180.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340718

    #340718

    oklch(22.1% 0.073 2.3)

  • #2D0A29

    #2D0A29

    oklch(22% 0.073 332.6)

  • #360803

    #360803

    oklch(22.1% 0.074 31.8)

Open the analogous palette in the generator

Split complementary

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

  • #340718

    #340718

    oklch(22.1% 0.073 2.3)

  • #00220D

    #00220D

    oklch(22.1% 0.057 152.8)

  • #001F25

    #001F25

    oklch(22% 0.038 212.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340718

    #340718

    oklch(22.1% 0.073 2.3)

  • #171E00

    #171E00

    oklch(22% 0.053 121.2)

  • #001D31

    #001D31

    oklch(22.1% 0.053 242.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340718

    #340718

    oklch(22.1% 0.073 2.3)

  • #221A00

    #221A00

    oklch(22.1% 0.045 93.2)

  • #00211C

    #00211C

    oklch(22.2% 0.04 180.8)

  • #10163C

    #10163C

    oklch(22.1% 0.073 272.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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