#310804

Closest named color: Dark Maroon (#3C0008). oklch(21.1% 0.067 30.9), rgb(49, 8, 4).

Aa

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

About this color

#310804 is a very dark, muted red. In OKLCH its lightness is 21%, its chroma 0.067 and its hue 31°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.031 away. White text reads best on it, at 17.99:1.

Hue familyReds
Lightnessvery dark (21%)
Chromamuted (0.067)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.16:1
White text17.99:1

Values

HEX#310804
RGBrgb(49, 8, 4)
HSLhsl(5, 85%, 10%)
OKLCHoklch(21.1% 0.067 30.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 #310804 17.99:1 AAA Lc -106.5 Preferred for body text
Black text on #310804 1.16:1 Fails Lc 0.0 Not readable
#310804 text on white 17.99:1 AAA Lc 104.2 Preferred for body text
#310804 text on black 1.16: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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #F9E5E1

    oklch(93.7% 0.023 31.1)

  3. Step 200

    200

    #F5CFC8

    oklch(88.5% 0.044 30.2)

  4. Step 300

    300

    #F0AEA1

    oklch(80.9% 0.08 31.4)

  5. Step 400

    400

    #E5806F

    oklch(70.7% 0.128 30.6)

  6. Step 500

    500

    #DA5B48

    oklch(63% 0.164 30.7)

  7. Step 600

    600

    #C63C29

    oklch(55.7% 0.178 31)

  8. Step 700

    700

    #AA2C1C

    oklch(49% 0.165 30.8)

  9. Step 800

    800

    #8A271A

    oklch(42.7% 0.136 30.8)

  10. Step 900

    900

    #6F261B

    oklch(37.7% 0.106 31.1)

  11. Step 950

    950 (this color)

    #310804

    oklch(21.1% 0.067 30.9)

Export this scale for Tailwind in the Tailwind colors tool

#310804 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)#1411030.071
Deuteranopia (no green cones)#1E1A030.065
Tritanopia (no blue cones)#3700070.023
Achromatopsia (no color)#1717170.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #310804

    #310804

    oklch(21.1% 0.067 30.9)

  • #001D22

    #001D22

    oklch(21.2% 0.037 210.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310804

    #310804

    oklch(21.1% 0.067 30.9)

  • #2F0717

    #2F0717

    oklch(21% 0.067 0.1)

  • #281200

    #281200

    oklch(21% 0.049 60.9)

Open the analogous palette in the generator

Split complementary

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

  • #310804

    #310804

    oklch(21.1% 0.067 30.9)

  • #001E19

    #001E19

    oklch(21.1% 0.038 179.9)

  • #001B2D

    #001B2D

    oklch(21.2% 0.049 240.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310804

    #310804

    oklch(21.1% 0.067 30.9)

  • #001F0A

    #001F0A

    oklch(20.9% 0.056 151.4)

  • #0E1537

    #0E1537

    oklch(21.2% 0.067 270.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310804

    #310804

    oklch(21.1% 0.067 30.9)

  • #151C00

    #151C00

    oklch(21.2% 0.051 121.7)

  • #001D22

    #001D22

    oklch(21.2% 0.037 210.5)

  • #1E0F32

    #1E0F32

    oklch(21.1% 0.067 300.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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