#310312

Closest named color: Dark Maroon (#3C0008). oklch(20.7% 0.075 6.3), rgb(49, 3, 18).

Aa

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

About this color

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

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

Values

HEX#310312
RGBrgb(49, 3, 18)
HSLhsl(340, 88%, 10%)
OKLCHoklch(20.7% 0.075 6.3)

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 #310312 18.22:1 AAA Lc -106.5 Preferred for body text
Black text on #310312 1.15:1 Fails Lc 0.0 Not readable
#310312 text on white 18.22:1 AAA Lc 104.3 Preferred for body text
#310312 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E7

    oklch(93.6% 0.026 5.7)

  3. Step 200

    200

    #F7CCD4

    oklch(88.4% 0.05 5.6)

  4. Step 300

    300

    #F3A9B7

    oklch(80.9% 0.089 6.8)

  5. Step 400

    400

    #E97792

    oklch(70.6% 0.143 6.4)

  6. Step 500

    500

    #DE4E78

    oklch(63% 0.181 6.1)

  7. Step 600

    600

    #CA2861

    oklch(55.6% 0.198 6.2)

  8. Step 700

    700

    #AE1750

    oklch(49.1% 0.184 6.3)

  9. Step 800

    800

    #8D1942

    oklch(42.7% 0.152 6.1)

  10. Step 900

    900

    #721D37

    oklch(37.7% 0.119 6.6)

  11. Step 950

    950 (this color)

    #310312

    oklch(20.7% 0.075 6.3)

Export this scale for Tailwind in the Tailwind colors tool

#310312 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)#0E0F120.085
Deuteranopia (no green cones)#1B19110.077
Tritanopia (no blue cones)#3600090.019
Achromatopsia (no color)#1515150.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #310312

    #310312

    oklch(20.7% 0.075 6.3)

  • #001D1A

    #001D1A

    oklch(20.8% 0.037 185.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310312

    #310312

    oklch(20.7% 0.075 6.3)

  • #2B0624

    #2B0624

    oklch(20.7% 0.074 336.4)

  • #300700

    #300700

    oklch(20.6% 0.069 36.7)

Open the analogous palette in the generator

Split complementary

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

  • #310312

    #310312

    oklch(20.7% 0.075 6.3)

  • #001E0E

    #001E0E

    oklch(20.7% 0.049 156.9)

  • #001B22

    #001B22

    oklch(20.5% 0.037 217.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310312

    #310312

    oklch(20.7% 0.075 6.3)

  • #111B00

    #111B00

    oklch(20.5% 0.052 126.2)

  • #00192E

    #00192E

    oklch(20.7% 0.053 245.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310312

    #310312

    oklch(20.7% 0.075 6.3)

  • #1D1700

    #1D1700

    oklch(20.6% 0.042 96.4)

  • #001D1A

    #001D1A

    oklch(20.8% 0.037 185.4)

  • #101139

    #101139

    oklch(20.6% 0.076 276.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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