#340202

Closest named color: Dark Maroon (#3C0008). oklch(20.8% 0.08 27.9), rgb(52, 2, 2).

Aa

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

About this color

#340202 is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.080 and its hue 28°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.023 away. White text reads best on it, at 18.17:1.

Hue familyReds
Lightnessvery dark (21%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.15:1
White text18.17:1

Values

HEX#340202
RGBrgb(52, 2, 2)
HSLhsl(0, 93%, 11%)
OKLCHoklch(20.8% 0.08 27.9)

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 #340202 18.17:1 AAA Lc -106.4 Preferred for body text
Black text on #340202 1.15:1 Fails Lc 0.0 Not readable
#340202 text on white 18.17:1 AAA Lc 104.1 Preferred for body text
#340202 text on black 1.15: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

    #FEF2F1

    oklch(97% 0.013 23.2)

  2. Step 100

    100

    #FCE3E0

    oklch(93.5% 0.028 25.9)

  3. Step 200

    200

    #FACDC6

    oklch(88.5% 0.052 28.5)

  4. Step 300

    300

    #F8A99F

    oklch(80.9% 0.095 27.3)

  5. Step 400

    400

    #F0776A

    oklch(70.7% 0.151 27.8)

  6. Step 500

    500

    #E74C41

    oklch(63.1% 0.193 28)

  7. Step 600

    600

    #D3201F

    oklch(55.7% 0.211 27.8)

  8. Step 700

    700

    #B60B10

    oklch(49.1% 0.196 28)

  9. Step 800

    800

    #941312

    oklch(42.8% 0.162 27.9)

  10. Step 900

    900

    #771B17

    oklch(37.8% 0.127 27.6)

  11. Step 950

    950 (this color)

    #340202

    oklch(20.8% 0.08 27.9)

Export this scale for Tailwind in the Tailwind colors tool

#340202 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)#110E020.088
Deuteranopia (no green cones)#1E1A010.080
Tritanopia (no blue cones)#3A00030.015
Achromatopsia (no color)#1616160.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #340202

    #340202

    oklch(20.8% 0.08 27.9)

  • #001C20

    #001C20

    oklch(20.7% 0.036 207.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340202

    #340202

    oklch(20.8% 0.08 27.9)

  • #310218

    #310218

    oklch(20.7% 0.079 357.2)

  • #281100

    #281100

    oklch(20.8% 0.05 58.5)

Open the analogous palette in the generator

Split complementary

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

  • #340202

    #340202

    oklch(20.8% 0.08 27.9)

  • #001D18

    #001D18

    oklch(20.7% 0.038 179.5)

  • #001A2A

    #001A2A

    oklch(20.7% 0.046 238.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340202

    #340202

    oklch(20.8% 0.08 27.9)

  • #001F06

    #001F06

    oklch(20.9% 0.061 147.6)

  • #09133C

    #09133C

    oklch(20.9% 0.08 268.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340202

    #340202

    oklch(20.8% 0.08 27.9)

  • #161A00

    #161A00

    oklch(20.6% 0.048 117.2)

  • #001C20

    #001C20

    oklch(20.7% 0.036 207.7)

  • #1D0B37

    #1D0B37

    oklch(20.7% 0.081 297.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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