#40030C

Closest named color: Dark Maroon (#3C0008). oklch(23.9% 0.09 19.7), rgb(64, 3, 12).

Aa

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

About this color

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

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

Values

HEX#40030C
RGBrgb(64, 3, 12)
HSLhsl(351, 91%, 13%)
OKLCHoklch(23.9% 0.09 19.7)

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 #40030C 16.98:1 AAA Lc -105.5 Preferred for body text
Black text on #40030C 1.23:1 Fails Lc 0.0 Not readable
#40030C text on white 16.98:1 AAA Lc 102.9 Preferred for body text
#40030C text on black 1.23: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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FEE2E1

    oklch(93.5% 0.031 20.2)

  3. Step 200

    200

    #FECAC9

    oklch(88.4% 0.059 19.6)

  4. Step 300

    300

    #FEA4A4

    oklch(80.8% 0.107 19.7)

  5. Step 400

    400

    #F96D74

    oklch(70.7% 0.172 19.5)

  6. Step 500

    500

    #F13750

    oklch(63.1% 0.219 19.5)

  7. Step 600

    600

    #D70039

    oklch(55.6% 0.223 19.6)

  8. Step 700

    700

    #B6002E

    oklch(49.1% 0.197 19.8)

  9. Step 800

    800

    #960025

    oklch(42.6% 0.171 19.5)

  10. Step 900

    900

    #7C0B20

    oklch(37.7% 0.143 19.6)

  11. Step 950

    950 (this color)

    #40030C

    oklch(23.9% 0.09 19.7)

Export this scale for Tailwind in the Tailwind colors tool

#40030C 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)#16140C0.100
Deuteranopia (no green cones)#25210A0.092
Tritanopia (no blue cones)#4700070.017
Achromatopsia (no color)#1C1C1C0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #40030C

    #40030C

    oklch(23.9% 0.09 19.7)

  • #002526

    #002526

    oklch(24% 0.041 197.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40030C

    #40030C

    oklch(23.9% 0.09 19.7)

  • #3B0525

    #3B0525

    oklch(23.9% 0.089 349.8)

  • #361400

    #361400

    oklch(24% 0.063 50)

Open the analogous palette in the generator

Split complementary

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

  • #40030C

    #40030C

    oklch(23.9% 0.09 19.7)

  • #00261B

    #00261B

    oklch(23.9% 0.048 169.1)

  • #002331

    #002331

    oklch(24% 0.047 229.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40030C

    #40030C

    oklch(23.9% 0.09 19.7)

  • #062700

    #062700

    oklch(23.9% 0.077 139.8)

  • #021C49

    #021C49

    oklch(24% 0.09 259.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40030C

    #40030C

    oklch(23.9% 0.09 19.7)

  • #212100

    #212100

    oklch(24% 0.052 109.8)

  • #002526

    #002526

    oklch(24% 0.041 197.5)

  • #201346

    #201346

    oklch(23.9% 0.091 289.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40030C 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.