#310C17

Closest named color: Dark Maroon (#3C0008). oklch(22.2% 0.061 5.2), rgb(49, 12, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (22%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.19:1
White text17.56:1

Values

HEX#310C17
RGBrgb(49, 12, 23)
HSLhsl(342, 61%, 12%)
OKLCHoklch(22.2% 0.061 5.2)

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 #310C17 17.56:1 AAA Lc -106.4 Preferred for body text
Black text on #310C17 1.19:1 Fails Lc 0.0 Not readable
#310C17 text on white 17.56:1 AAA Lc 104.0 Preferred for body text
#310C17 text on black 1.19: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

    #FCF3F4

    oklch(97.1% 0.01 9.5)

  2. Step 100

    100

    #F7E4E8

    oklch(93.5% 0.021 3.1)

  3. Step 200

    200

    #F2CFD5

    oklch(88.6% 0.04 6.3)

  4. Step 300

    300

    #EAAEBA

    oklch(81% 0.072 5.5)

  5. Step 400

    400

    #DD8197

    oklch(70.8% 0.116 5.1)

  6. Step 500

    500

    #D15E7D

    oklch(63.2% 0.148 5.4)

  7. Step 600

    600

    #BC4066

    oklch(55.6% 0.161 5.3)

  8. Step 700

    700

    #A13155

    oklch(49% 0.149 5)

  9. Step 800

    800

    #832A46

    oklch(42.7% 0.124 4.7)

  10. Step 900

    900

    #6A283A

    oklch(37.8% 0.096 5.9)

  11. Step 950

    950 (this color)

    #310C17

    oklch(22.2% 0.061 5.2)

Export this scale for Tailwind in the Tailwind colors tool

#310C17 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)#1415170.067
Deuteranopia (no green cones)#1D1C160.063
Tritanopia (no blue cones)#3608100.017
Achromatopsia (no color)#1919190.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #310C17

    #310C17

    oklch(22.2% 0.061 5.2)

  • #00211D

    #00211D

    oklch(22.3% 0.04 183.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310C17

    #310C17

    oklch(22.2% 0.061 5.2)

  • #2B0E26

    #2B0E26

    oklch(22.1% 0.061 334.5)

  • #320E06

    #320E06

    oklch(22.3% 0.061 34.7)

Open the analogous palette in the generator

Split complementary

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

  • #310C17

    #310C17

    oklch(22.2% 0.061 5.2)

  • #00220F

    #00220F

    oklch(22.1% 0.055 155)

  • #001F26

    #001F26

    oklch(22% 0.039 215.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310C17

    #310C17

    oklch(22.2% 0.061 5.2)

  • #151F00

    #151F00

    oklch(22.1% 0.056 125)

  • #001D33

    #001D33

    oklch(22.3% 0.056 244.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310C17

    #310C17

    oklch(22.2% 0.061 5.2)

  • #221A00

    #221A00

    oklch(22.1% 0.045 93.2)

  • #00211D

    #00211D

    oklch(22.3% 0.04 183.4)

  • #131737

    #131737

    oklch(22.1% 0.062 274.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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