#310917

Closest named color: Dark Maroon (#3C0008). oklch(21.7% 0.066 3), rgb(49, 9, 23).

Aa

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

About this color

#310917 is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.066 and its hue 3°. 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.76:1.

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

Values

HEX#310917
RGBrgb(49, 9, 23)
HSLhsl(339, 69%, 11%)
OKLCHoklch(21.7% 0.066 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 #310917 17.76:1 AAA Lc -106.4 Preferred for body text
Black text on #310917 1.18:1 Fails Lc 0.0 Not readable
#310917 text on white 17.76:1 AAA Lc 104.1 Preferred for body text
#310917 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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F8E4E8

    oklch(93.6% 0.022 3.8)

  3. Step 200

    200

    #F3CED6

    oklch(88.5% 0.043 3.4)

  4. Step 300

    300

    #EDACBC

    oklch(81% 0.079 2.8)

  5. Step 400

    400

    #E07E99

    oklch(70.7% 0.124 3.1)

  6. Step 500

    500

    #D45980

    oklch(63.1% 0.159 3)

  7. Step 600

    600

    #C03A69

    oklch(55.7% 0.173 3.3)

  8. Step 700

    700

    #A52A58

    oklch(49.1% 0.162 2.8)

  9. Step 800

    800

    #862548

    oklch(42.7% 0.134 2.8)

  10. Step 900

    900

    #6C243C

    oklch(37.6% 0.105 3)

  11. Step 950

    950 (this color)

    #310917

    oklch(21.7% 0.066 3)

Export this scale for Tailwind in the Tailwind colors tool

#310917 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)#1113170.075
Deuteranopia (no green cones)#1C1B160.068
Tritanopia (no blue cones)#36050F0.018
Achromatopsia (no color)#1818180.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #310917

    #310917

    oklch(21.7% 0.066 3)

  • #00201C

    #00201C

    oklch(21.9% 0.039 183.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310917

    #310917

    oklch(21.7% 0.066 3)

  • #2B0C27

    #2B0C27

    oklch(21.8% 0.066 332.9)

  • #320B04

    #320B04

    oklch(21.7% 0.065 34)

Open the analogous palette in the generator

Split complementary

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

  • #310917

    #310917

    oklch(21.7% 0.066 3)

  • #00210D

    #00210D

    oklch(21.7% 0.055 153.4)

  • #001E24

    #001E24

    oklch(21.6% 0.038 213)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310917

    #310917

    oklch(21.7% 0.066 3)

  • #151E00

    #151E00

    oklch(21.8% 0.054 124)

  • #001C30

    #001C30

    oklch(21.7% 0.052 242.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310917

    #310917

    oklch(21.7% 0.066 3)

  • #211900

    #211900

    oklch(21.7% 0.044 92.8)

  • #00201C

    #00201C

    oklch(21.9% 0.039 183.2)

  • #111638

    #111638

    oklch(21.8% 0.066 273.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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