#310508

Closest named color: Dark Maroon (#3C0008). oklch(20.7% 0.071 21.8), rgb(49, 5, 8).

Aa

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

About this color

#310508 is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.071 and its hue 22°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.027 away. White text reads best on it, at 18.16:1.

Hue familyReds
Lightnessvery dark (21%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.15:1
White text18.16:1

Values

HEX#310508
RGBrgb(49, 5, 8)
HSLhsl(356, 81%, 11%)
OKLCHoklch(20.7% 0.071 21.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 #310508 18.16:1 AAA Lc -106.6 Preferred for body text
Black text on #310508 1.15:1 Fails Lc 0.0 Not readable
#310508 text on white 18.16:1 AAA Lc 104.3 Preferred for body text
#310508 text on black 1.15: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

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #FAE4E3

    oklch(93.6% 0.024 20.7)

  3. Step 200

    200

    #F7CECB

    oklch(88.6% 0.047 23)

  4. Step 300

    300

    #F2ABA8

    oklch(80.8% 0.084 21.8)

  5. Step 400

    400

    #E87C7B

    oklch(70.7% 0.134 21.6)

  6. Step 500

    500

    #DE5559

    oklch(63.1% 0.171 21.7)

  7. Step 600

    600

    #C9333F

    oklch(55.6% 0.186 21.7)

  8. Step 700

    700

    #AE2331

    oklch(49.2% 0.174 21.7)

  9. Step 800

    800

    #8D2029

    oklch(42.7% 0.144 21.7)

  10. Step 900

    900

    #712225

    oklch(37.7% 0.111 22.1)

  11. Step 950

    950 (this color)

    #310508

    oklch(20.7% 0.071 21.8)

Export this scale for Tailwind in the Tailwind colors tool

#310508 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)#110F080.078
Deuteranopia (no green cones)#1D19070.070
Tritanopia (no blue cones)#3700060.016
Achromatopsia (no color)#1616160.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #310508

    #310508

    oklch(20.7% 0.071 21.8)

  • #001C1E

    #001C1E

    oklch(20.6% 0.035 201.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310508

    #310508

    oklch(20.7% 0.071 21.8)

  • #2E051B

    #2E051B

    oklch(20.7% 0.072 351.9)

  • #2A0F00

    #2A0F00

    oklch(20.7% 0.053 51.9)

Open the analogous palette in the generator

Split complementary

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

  • #310508

    #310508

    oklch(20.7% 0.071 21.8)

  • #001D15

    #001D15

    oklch(20.5% 0.04 171.6)

  • #001B27

    #001B27

    oklch(20.8% 0.041 229.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310508

    #310508

    oklch(20.7% 0.071 21.8)

  • #011F00

    #011F00

    oklch(20.8% 0.07 141.8)

  • #051537

    #051537

    oklch(20.7% 0.07 262.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310508

    #310508

    oklch(20.7% 0.071 21.8)

  • #181900

    #181900

    oklch(20.5% 0.045 111.8)

  • #001C1E

    #001C1E

    oklch(20.6% 0.035 201.3)

  • #190F35

    #190F35

    oklch(20.7% 0.071 291)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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