#310D1C

Closest named color: Dark Maroon (#3C0008). oklch(22.5% 0.061 357.3), rgb(49, 13, 28).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.20:1
White text17.42:1

Values

HEX#310D1C
RGBrgb(49, 13, 28)
HSLhsl(335, 58%, 12%)
OKLCHoklch(22.5% 0.061 357.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 #310D1C 17.42:1 AAA Lc -106.3 Preferred for body text
Black text on #310D1C 1.20:1 Fails Lc 0.0 Not readable
#310D1C text on white 17.42:1 AAA Lc 104.0 Preferred for body text
#310D1C text on black 1.20: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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F6E4EA

    oklch(93.5% 0.021 355.2)

  3. Step 200

    200

    #F1CFD9

    oklch(88.6% 0.04 358.3)

  4. Step 300

    300

    #E8AEC1

    oklch(81% 0.072 357.4)

  5. Step 400

    400

    #DA81A1

    oklch(70.7% 0.116 357.4)

  6. Step 500

    500

    #CD5E8A

    oklch(63% 0.148 357.3)

  7. Step 600

    600

    #B94174

    oklch(55.7% 0.162 357.4)

  8. Step 700

    700

    #9F3261

    oklch(49.2% 0.15 357.7)

  9. Step 800

    800

    #812B50

    oklch(42.8% 0.124 357.1)

  10. Step 900

    900

    #682842

    oklch(37.7% 0.096 357.4)

  11. Step 950

    950 (this color)

    #310D1C

    oklch(22.5% 0.061 357.3)

Export this scale for Tailwind in the Tailwind colors tool

#310D1C 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)#13161C0.068
Deuteranopia (no green cones)#1D1C1B0.061
Tritanopia (no blue cones)#350A130.018
Achromatopsia (no color)#1A1A1A0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #310D1C

    #310D1C

    oklch(22.5% 0.061 357.3)

  • #00221B

    #00221B

    oklch(22.5% 0.042 176.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310D1C

    #310D1C

    oklch(22.5% 0.061 357.3)

  • #2A102A

    #2A102A

    oklch(22.5% 0.06 327.3)

  • #330E0B

    #330E0B

    oklch(22.5% 0.061 27.6)

Open the analogous palette in the generator

Split complementary

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

  • #310D1C

    #310D1C

    oklch(22.5% 0.061 357.3)

  • #032309

    #032309

    oklch(22.5% 0.061 147.1)

  • #002125

    #002125

    oklch(22.6% 0.039 206.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310D1C

    #310D1C

    oklch(22.5% 0.061 357.3)

  • #1A1F00

    #1A1F00

    oklch(22.6% 0.053 118)

  • #001F30

    #001F30

    oklch(22.7% 0.049 236.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310D1C

    #310D1C

    oklch(22.5% 0.061 357.3)

  • #251A00

    #251A00

    oklch(22.5% 0.046 87)

  • #00221B

    #00221B

    oklch(22.5% 0.042 176.1)

  • #0F1938

    #0F1938

    oklch(22.4% 0.062 267.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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