#310B19

Closest named color: Dark Maroon (#3C0008). oklch(22.1% 0.063 1), rgb(49, 11, 25).

Aa

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

About this color

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

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

Values

HEX#310B19
RGBrgb(49, 11, 25)
HSLhsl(338, 63%, 12%)
OKLCHoklch(22.1% 0.063 1)

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 #310B19 17.61:1 AAA Lc -106.4 Preferred for body text
Black text on #310B19 1.19:1 Fails Lc 0.0 Not readable
#310B19 text on white 17.61:1 AAA Lc 104.1 Preferred for body text
#310B19 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

    #FCF3F5

    oklch(97.2% 0.01 2)

  2. Step 100

    100

    #F7E4E9

    oklch(93.5% 0.022 359.7)

  3. Step 200

    200

    #F2CED7

    oklch(88.4% 0.042 1.2)

  4. Step 300

    300

    #EBADBE

    oklch(81% 0.075 0.9)

  5. Step 400

    400

    #DD7F9C

    oklch(70.6% 0.12 0.8)

  6. Step 500

    500

    #D15B84

    oklch(63% 0.154 0.7)

  7. Step 600

    600

    #BC3E6D

    oklch(55.6% 0.166 1.2)

  8. Step 700

    700

    #A22E5B

    oklch(49% 0.156 1.1)

  9. Step 800

    800

    #84284B

    oklch(42.8% 0.129 0.9)

  10. Step 900

    900

    #6A263E

    oklch(37.6% 0.1 1.2)

  11. Step 950

    950 (this color)

    #310B19

    oklch(22.1% 0.063 1)

Export this scale for Tailwind in the Tailwind colors tool

#310B19 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)#1214190.071
Deuteranopia (no green cones)#1C1C180.066
Tritanopia (no blue cones)#3607110.018
Achromatopsia (no color)#1919190.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #310B19

    #310B19

    oklch(22.1% 0.063 1)

  • #00211C

    #00211C

    oklch(22.2% 0.04 180.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310B19

    #310B19

    oklch(22.1% 0.063 1)

  • #2B0E28

    #2B0E28

    oklch(22.2% 0.063 331.6)

  • #330C07

    #330C07

    oklch(22.2% 0.064 30.6)

Open the analogous palette in the generator

Split complementary

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

  • #310B19

    #310B19

    oklch(22.1% 0.063 1)

  • #00220B

    #00220B

    oklch(22% 0.059 150.9)

  • #001F25

    #001F25

    oklch(22% 0.038 212.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310B19

    #310B19

    oklch(22.1% 0.063 1)

  • #171E00

    #171E00

    oklch(22% 0.053 121.2)

  • #001D30

    #001D30

    oklch(22% 0.051 240.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310B19

    #310B19

    oklch(22.1% 0.063 1)

  • #231A00

    #231A00

    oklch(22.2% 0.045 91.1)

  • #00211C

    #00211C

    oklch(22.2% 0.04 180.8)

  • #101738

    #101738

    oklch(22% 0.065 271.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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