#3A0C17

Closest named color: Dark Maroon (#3C0008). oklch(24% 0.072 10.3), rgb(58, 12, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (24%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.24:1
White text16.86:1

Values

HEX#3A0C17
RGBrgb(58, 12, 23)
HSLhsl(346, 66%, 14%)
OKLCHoklch(24% 0.072 10.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 #3A0C17 16.86:1 AAA Lc -105.8 Preferred for body text
Black text on #3A0C17 1.24:1 Fails Lc 0.0 Not readable
#3A0C17 text on white 16.86:1 AAA Lc 103.3 Preferred for body text
#3A0C17 text on black 1.24: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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F7CDD2

    oklch(88.6% 0.048 10)

  4. Step 300

    300

    #F2AAB4

    oklch(80.9% 0.086 10)

  5. Step 400

    400

    #E8798C

    oklch(70.6% 0.138 10.4)

  6. Step 500

    500

    #DD5170

    oklch(63% 0.175 10.3)

  7. Step 600

    600

    #C92E59

    oklch(55.7% 0.191 10.3)

  8. Step 700

    700

    #AD1E49

    oklch(49.1% 0.177 10.2)

  9. Step 800

    800

    #8C1D3C

    oklch(42.7% 0.146 10.1)

  10. Step 900

    900

    #712033

    oklch(37.8% 0.114 10.6)

  11. Step 950

    950 (this color)

    #3A0C17

    oklch(24% 0.072 10.3)

Export this scale for Tailwind in the Tailwind colors tool

#3A0C17 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)#1717170.081
Deuteranopia (no green cones)#2320160.073
Tritanopia (no blue cones)#4005100.018
Achromatopsia (no color)#1D1D1D0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A0C17

    #3A0C17

    oklch(24% 0.072 10.3)

  • #002524

    #002524

    oklch(23.9% 0.041 192.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A0C17

    #3A0C17

    oklch(24% 0.072 10.3)

  • #340E2A

    #340E2A

    oklch(23.9% 0.073 339.4)

  • #3A0F01

    #3A0F01

    oklch(23.9% 0.073 40)

Open the analogous palette in the generator

Split complementary

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

  • #3A0C17

    #3A0C17

    oklch(24% 0.072 10.3)

  • #002716

    #002716

    oklch(24.1% 0.055 159.8)

  • #00242E

    #00242E

    oklch(24.1% 0.044 220.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A0C17

    #3A0C17

    oklch(24% 0.072 10.3)

  • #142500

    #142500

    oklch(24% 0.065 130.6)

  • #00203E

    #00203E

    oklch(24% 0.068 250.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A0C17

    #3A0C17

    oklch(24% 0.072 10.3)

  • #251F00

    #251F00

    oklch(23.9% 0.049 98.8)

  • #002524

    #002524

    oklch(23.9% 0.041 192.1)

  • #1A1940

    #1A1940

    oklch(24% 0.072 280.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A0C17 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.