#310517

Closest named color: Dark Maroon (#3C0008). oklch(21.2% 0.073 0.4), rgb(49, 5, 23).

Aa

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

About this color

#310517 is a very dark, moderately saturated red. In OKLCH its lightness is 21%, its chroma 0.073 and its hue 0°. 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 18.03:1.

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

Values

HEX#310517
RGBrgb(49, 5, 23)
HSLhsl(335, 81%, 11%)
OKLCHoklch(21.2% 0.073 0.4)

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 #310517 18.03:1 AAA Lc -106.5 Preferred for body text
Black text on #310517 1.16:1 Fails Lc 0.0 Not readable
#310517 text on white 18.03:1 AAA Lc 104.2 Preferred for body text
#310517 text on black 1.16: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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #F9E3E9

    oklch(93.5% 0.025 359.2)

  3. Step 200

    200

    #F5CDD7

    oklch(88.5% 0.047 1.3)

  4. Step 300

    300

    #F0AABE

    oklch(81% 0.086 0.5)

  5. Step 400

    400

    #E5799C

    oklch(70.7% 0.138 0.6)

  6. Step 500

    500

    #DA5184

    oklch(63.1% 0.177 0.5)

  7. Step 600

    600

    #C52E6E

    oklch(55.6% 0.192 0.3)

  8. Step 700

    700

    #AA1E5C

    oklch(49.2% 0.179 0.3)

  9. Step 800

    800

    #8A1D4B

    oklch(42.7% 0.148 0.5)

  10. Step 900

    900

    #6F203F

    oklch(37.8% 0.115 0.2)

  11. Step 950

    950 (this color)

    #310517

    oklch(21.2% 0.073 0.4)

Export this scale for Tailwind in the Tailwind colors tool

#310517 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)#0E11170.083
Deuteranopia (no green cones)#1A1A160.076
Tritanopia (no blue cones)#36010C0.022
Achromatopsia (no color)#1616160.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #310517

    #310517

    oklch(21.2% 0.073 0.4)

  • #001E19

    #001E19

    oklch(21.1% 0.038 179.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310517

    #310517

    oklch(21.2% 0.073 0.4)

  • #2A0828

    #2A0828

    oklch(21.1% 0.073 330.2)

  • #330603

    #330603

    oklch(21.2% 0.073 30.2)

Open the analogous palette in the generator

Split complementary

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

  • #310517

    #310517

    oklch(21.2% 0.073 0.4)

  • #002009

    #002009

    oklch(21.3% 0.059 150)

  • #001D22

    #001D22

    oklch(21.2% 0.037 210.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310517

    #310517

    oklch(21.2% 0.073 0.4)

  • #161C00

    #161C00

    oklch(21.3% 0.051 120.1)

  • #001B2D

    #001B2D

    oklch(21.2% 0.049 240.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310517

    #310517

    oklch(21.2% 0.073 0.4)

  • #201700

    #201700

    oklch(21% 0.043 89.6)

  • #001E19

    #001E19

    oklch(21.1% 0.038 179.9)

  • #0D143A

    #0D143A

    oklch(21.2% 0.074 270.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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