#310717

Closest named color: Dark Maroon (#3C0008). oklch(21.4% 0.069 1.6), rgb(49, 7, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (21%)
Chromamuted (0.069)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.17:1
White text17.89:1

Values

HEX#310717
RGBrgb(49, 7, 23)
HSLhsl(337, 75%, 11%)
OKLCHoklch(21.4% 0.069 1.6)

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 #310717 17.89:1 AAA Lc -106.5 Preferred for body text
Black text on #310717 1.17:1 Fails Lc 0.0 Not readable
#310717 text on white 17.89:1 AAA Lc 104.2 Preferred for body text
#310717 text on black 1.17: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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F9E4E9

    oklch(93.7% 0.024 1.3)

  3. Step 200

    200

    #F4CDD7

    oklch(88.4% 0.046 0.9)

  4. Step 300

    300

    #EEABBD

    oklch(80.9% 0.082 1.4)

  5. Step 400

    400

    #E37B9B

    oklch(70.7% 0.133 1.4)

  6. Step 500

    500

    #D75582

    oklch(63.1% 0.168 1.6)

  7. Step 600

    600

    #C2346C

    oklch(55.5% 0.183 1.4)

  8. Step 700

    700

    #A7255A

    oklch(49.1% 0.17 1.5)

  9. Step 800

    800

    #882149

    oklch(42.7% 0.141 1.9)

  10. Step 900

    900

    #6D223D

    oklch(37.6% 0.109 1.7)

  11. Step 950

    950 (this color)

    #310717

    oklch(21.4% 0.069 1.6)

Export this scale for Tailwind in the Tailwind colors tool

#310717 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)#1012170.078
Deuteranopia (no green cones)#1B1A160.070
Tritanopia (no blue cones)#36030E0.019
Achromatopsia (no color)#1717170.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #310717

    #310717

    oklch(21.4% 0.069 1.6)

  • #001F1A

    #001F1A

    oklch(21.4% 0.039 180.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310717

    #310717

    oklch(21.4% 0.069 1.6)

  • #2A0A27

    #2A0A27

    oklch(21.3% 0.069 331.5)

  • #330804

    #330804

    oklch(21.5% 0.07 30.7)

Open the analogous palette in the generator

Split complementary

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

  • #310717

    #310717

    oklch(21.4% 0.069 1.6)

  • #00200B

    #00200B

    oklch(21.3% 0.056 151.9)

  • #001E23

    #001E23

    oklch(21.5% 0.037 210.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310717

    #310717

    oklch(21.4% 0.069 1.6)

  • #161D00

    #161D00

    oklch(21.6% 0.052 121.4)

  • #001B2E

    #001B2E

    oklch(21.3% 0.051 242.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310717

    #310717

    oklch(21.4% 0.069 1.6)

  • #211800

    #211800

    oklch(21.4% 0.044 90.2)

  • #001F1A

    #001F1A

    oklch(21.4% 0.039 180.2)

  • #0F1539

    #0F1539

    oklch(21.5% 0.07 272.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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