#310B0B

Closest named color: Dark Maroon (#3C0008). oklch(21.7% 0.062 23.8), rgb(49, 11, 11).

Aa

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

About this color

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

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

Values

HEX#310B0B
RGBrgb(49, 11, 11)
HSLhsl(0, 63%, 12%)
OKLCHoklch(21.7% 0.062 23.8)

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 #310B0B 17.74:1 AAA Lc -106.5 Preferred for body text
Black text on #310B0B 1.18:1 Fails Lc 0.0 Not readable
#310B0B text on white 17.74:1 AAA Lc 104.2 Preferred for body text
#310B0B 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

    #F8E5E3

    oklch(93.7% 0.021 24.8)

  3. Step 200

    200

    #F3CFCC

    oklch(88.4% 0.041 23.6)

  4. Step 300

    300

    #EDAFAA

    oklch(81% 0.073 24)

  5. Step 400

    400

    #E0827D

    oklch(70.7% 0.117 23.7)

  6. Step 500

    500

    #D55F5C

    oklch(63.1% 0.15 23.8)

  7. Step 600

    600

    #C04142

    oklch(55.5% 0.163 23.7)

  8. Step 700

    700

    #A53234

    oklch(49% 0.151 23.7)

  9. Step 800

    800

    #862B2B

    oklch(42.7% 0.125 24.1)

  10. Step 900

    900

    #6C2827

    oklch(37.6% 0.098 23.8)

  11. Step 950

    950 (this color)

    #310B0B

    oklch(21.7% 0.062 23.8)

Export this scale for Tailwind in the Tailwind colors tool

#310B0B 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)#15130B0.066
Deuteranopia (no green cones)#1F1B0A0.060
Tritanopia (no blue cones)#37040B0.019
Achromatopsia (no color)#1818180.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #310B0B

    #310B0B

    oklch(21.7% 0.062 23.8)

  • #001F22

    #001F22

    oklch(21.8% 0.037 203.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310B0B

    #310B0B

    oklch(21.7% 0.062 23.8)

  • #2E0B1C

    #2E0B1C

    oklch(21.6% 0.061 353.3)

  • #2C1100

    #2C1100

    oklch(21.5% 0.054 53.8)

Open the analogous palette in the generator

Split complementary

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

  • #310B0B

    #310B0B

    oklch(21.7% 0.062 23.8)

  • #002018

    #002018

    oklch(21.7% 0.042 172.9)

  • #001D2B

    #001D2B

    oklch(21.7% 0.045 232.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310B0B

    #310B0B

    oklch(21.7% 0.062 23.8)

  • #042105

    #042105

    oklch(21.8% 0.062 143.8)

  • #0A1836

    #0A1836

    oklch(21.7% 0.062 263.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310B0B

    #310B0B

    oklch(21.7% 0.062 23.8)

  • #1A1C00

    #1A1C00

    oklch(21.7% 0.049 113.4)

  • #001F22

    #001F22

    oklch(21.8% 0.037 203.9)

  • #1C1333

    #1C1333

    oklch(21.8% 0.061 293.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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