#310C08

Closest named color: Dark Maroon (#3C0008). oklch(21.8% 0.061 29.3), rgb(49, 12, 8).

Aa

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

About this color

#310C08 is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.061 and its hue 29°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.032 away. White text reads best on it, at 17.69:1.

Hue familyReds
Lightnessvery dark (22%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.18:1
White text17.69:1

Values

HEX#310C08
RGBrgb(49, 12, 8)
HSLhsl(6, 72%, 11%)
OKLCHoklch(21.8% 0.061 29.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 #310C08 17.69:1 AAA Lc -106.4 Preferred for body text
Black text on #310C08 1.18:1 Fails Lc 0.0 Not readable
#310C08 text on white 17.69:1 AAA Lc 104.1 Preferred for body text
#310C08 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

    #FCF3F2

    oklch(97.1% 0.01 25.1)

  2. Step 100

    100

    #F8E5E2

    oklch(93.6% 0.021 28.3)

  3. Step 200

    200

    #F3D0CA

    oklch(88.6% 0.04 29.4)

  4. Step 300

    300

    #ECB0A6

    oklch(81% 0.072 29.4)

  5. Step 400

    400

    #E08376

    oklch(70.7% 0.117 28.8)

  6. Step 500

    500

    #D46152

    oklch(63.1% 0.148 29.4)

  7. Step 600

    600

    #BF4436

    oklch(55.5% 0.161 29.6)

  8. Step 700

    700

    #A53429

    oklch(49.1% 0.151 29.2)

  9. Step 800

    800

    #862D23

    oklch(42.8% 0.124 29.5)

  10. Step 900

    900

    #6C2921

    oklch(37.7% 0.098 29.3)

  11. Step 950

    950 (this color)

    #310C08

    oklch(21.8% 0.061 29.3)

Export this scale for Tailwind in the Tailwind colors tool

#310C08 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)#1613070.064
Deuteranopia (no green cones)#1F1B070.059
Tritanopia (no blue cones)#37050B0.021
Achromatopsia (no color)#1818180.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #310C08

    #310C08

    oklch(21.8% 0.061 29.3)

  • #001F23

    #001F23

    oklch(21.9% 0.037 206.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310C08

    #310C08

    oklch(21.8% 0.061 29.3)

  • #2F0B19

    #2F0B19

    oklch(21.7% 0.061 359.4)

  • #2B1300

    #2B1300

    oklch(21.8% 0.052 59.1)

Open the analogous palette in the generator

Split complementary

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

  • #310C08

    #310C08

    oklch(21.8% 0.061 29.3)

  • #00201A

    #00201A

    oklch(21.8% 0.04 177.8)

  • #001C2E

    #001C2E

    oklch(21.6% 0.05 240.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310C08

    #310C08

    oklch(21.8% 0.061 29.3)

  • #002109

    #002109

    oklch(21.6% 0.06 149.6)

  • #0F1736

    #0F1736

    oklch(21.7% 0.061 269.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310C08

    #310C08

    oklch(21.8% 0.061 29.3)

  • #171D00

    #171D00

    oklch(21.7% 0.051 119.9)

  • #001F23

    #001F23

    oklch(21.9% 0.037 206.9)

  • #1E1232

    #1E1232

    oklch(21.7% 0.061 298.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #310C08 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.