#310E18

Closest named color: Dark Maroon (#3C0008). oklch(22.5% 0.058 5.2), rgb(49, 14, 24).

Aa

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

About this color

#310E18 is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.058 and its hue 5°. 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.40:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.058)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.20:1
White text17.40:1

Values

HEX#310E18
RGBrgb(49, 14, 24)
HSLhsl(343, 56%, 12%)
OKLCHoklch(22.5% 0.058 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 #310E18 17.40:1 AAA Lc -106.3 Preferred for body text
Black text on #310E18 1.20:1 Fails Lc 0.0 Not readable
#310E18 text on white 17.40:1 AAA Lc 104.0 Preferred for body text
#310E18 text on black 1.20: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

    #FBF3F4

    oklch(97.1% 0.009 8.5)

  2. Step 100

    100

    #F6E5E8

    oklch(93.6% 0.019 5.3)

  3. Step 200

    200

    #F1CFD5

    oklch(88.5% 0.039 5.9)

  4. Step 300

    300

    #E8AFBA

    oklch(80.9% 0.068 5.9)

  5. Step 400

    400

    #DA8397

    oklch(70.8% 0.109 5.4)

  6. Step 500

    500

    #CD617E

    oklch(63.1% 0.139 5)

  7. Step 600

    600

    #B94467

    oklch(55.6% 0.153 5.1)

  8. Step 700

    700

    #9F3555

    oklch(49.1% 0.142 5.5)

  9. Step 800

    800

    #812D46

    oklch(42.7% 0.118 5.2)

  10. Step 900

    900

    #68293B

    oklch(37.6% 0.092 4.7)

  11. Step 950

    950 (this color)

    #310E18

    oklch(22.5% 0.058 5.2)

Export this scale for Tailwind in the Tailwind colors tool

#310E18 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)#1516180.064
Deuteranopia (no green cones)#1E1D170.060
Tritanopia (no blue cones)#360A120.015
Achromatopsia (no color)#1A1A1A0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #310E18

    #310E18

    oklch(22.5% 0.058 5.2)

  • #00221E

    #00221E

    oklch(22.6% 0.04 183.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310E18

    #310E18

    oklch(22.5% 0.058 5.2)

  • #2C1026

    #2C1026

    oklch(22.6% 0.057 336.1)

  • #321007

    #321007

    oklch(22.6% 0.058 36.2)

Open the analogous palette in the generator

Split complementary

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

  • #310E18

    #310E18

    oklch(22.5% 0.058 5.2)

  • #002310

    #002310

    oklch(22.5% 0.055 155.5)

  • #002027

    #002027

    oklch(22.4% 0.04 215)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310E18

    #310E18

    oklch(22.5% 0.058 5.2)

  • #162000

    #162000

    oklch(22.5% 0.056 124.7)

  • #001E34

    #001E34

    oklch(22.6% 0.056 244)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310E18

    #310E18

    oklch(22.5% 0.058 5.2)

  • #231B00

    #231B00

    oklch(22.5% 0.046 93.6)

  • #00221E

    #00221E

    oklch(22.6% 0.04 183.6)

  • #141836

    #141836

    oklch(22.4% 0.058 275)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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