#340102

Closest named color: Dark Maroon (#3C0008). oklch(20.6% 0.082 27), rgb(52, 1, 2).

Aa

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

About this color

#340102 is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.082 and its hue 27°. 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.24:1.

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

Values

HEX#340102
RGBrgb(52, 1, 2)
HSLhsl(359, 96%, 10%)
OKLCHoklch(20.6% 0.082 27)

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

    #FBCCC6

    oklch(88.4% 0.054 26.7)

  4. Step 300

    300

    #F9A99F

    oklch(81% 0.096 27.2)

  5. Step 400

    400

    #F2766A

    oklch(70.8% 0.155 27.3)

  6. Step 500

    500

    #E94942

    oklch(63.2% 0.198 26.9)

  7. Step 600

    600

    #D41B20

    oklch(55.6% 0.214 27.1)

  8. Step 700

    700

    #B70112

    oklch(49.1% 0.2 27)

  9. Step 800

    800

    #950F13

    oklch(42.8% 0.165 27.1)

  10. Step 900

    900

    #771917

    oklch(37.6% 0.129 26.9)

  11. Step 950

    950 (this color)

    #340102

    oklch(20.6% 0.082 27)

Export this scale for Tailwind in the Tailwind colors tool

#340102 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)#1E19010.079
Tritanopia (no blue cones)#3A00020.015
Achromatopsia (no color)#1515150.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #340102

    #340102

    oklch(20.6% 0.082 27)

  • #001C20

    #001C20

    oklch(20.7% 0.036 207.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #340102

    #340102

    oklch(20.6% 0.082 27)

  • #310118

    #310118

    oklch(20.6% 0.081 356.7)

  • #281000

    #281000

    oklch(20.6% 0.05 56.2)

Open the analogous palette in the generator

Split complementary

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

  • #340102

    #340102

    oklch(20.6% 0.082 27)

  • #001D17

    #001D17

    oklch(20.6% 0.038 176.8)

  • #001A29

    #001A29

    oklch(20.6% 0.045 236.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #340102

    #340102

    oklch(20.6% 0.082 27)

  • #001E05

    #001E05

    oklch(20.5% 0.061 147)

  • #07123C

    #07123C

    oklch(20.6% 0.082 267)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #340102

    #340102

    oklch(20.6% 0.082 27)

  • #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 #340102, closest first.

Similar named colors

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

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