#310118

Closest named color: Dark Maroon (#3C0008). oklch(20.6% 0.081 356.7), rgb(49, 1, 24).

Aa

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

About this color

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

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

Values

HEX#310118
RGBrgb(49, 1, 24)
HSLhsl(331, 96%, 10%)
OKLCHoklch(20.6% 0.081 356.7)

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

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F8CBDA

    oklch(88.5% 0.054 356.3)

  4. Step 300

    300

    #F4A7C2

    oklch(81% 0.096 356.8)

  5. Step 400

    400

    #EA73A2

    oklch(70.7% 0.155 356.9)

  6. Step 500

    500

    #DF478C

    oklch(63% 0.197 356.5)

  7. Step 600

    600

    #CA1B76

    oklch(55.5% 0.214 356.5)

  8. Step 700

    700

    #AF0363

    oklch(49.2% 0.2 356.7)

  9. Step 800

    800

    #8E0F51

    oklch(42.8% 0.165 356.6)

  10. Step 900

    900

    #721943

    oklch(37.7% 0.128 356.6)

  11. Step 950

    950 (this color)

    #310118

    oklch(20.6% 0.081 356.7)

Export this scale for Tailwind in the Tailwind colors tool

#310118 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)#0A0F190.093
Deuteranopia (no green cones)#1918170.081
Tritanopia (no blue cones)#36000A0.029
Achromatopsia (no color)#1515150.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #310118

    #310118

    oklch(20.6% 0.081 356.7)

  • #001D17

    #001D17

    oklch(20.6% 0.038 176.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310118

    #310118

    oklch(20.6% 0.081 356.7)

  • #29052A

    #29052A

    oklch(20.6% 0.081 326.9)

  • #340102

    #340102

    oklch(20.6% 0.082 27)

Open the analogous palette in the generator

Split complementary

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

  • #310118

    #310118

    oklch(20.6% 0.081 356.7)

  • #001E05

    #001E05

    oklch(20.5% 0.061 147)

  • #001C1F

    #001C1F

    oklch(20.7% 0.035 204.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310118

    #310118

    oklch(20.6% 0.081 356.7)

  • #161A00

    #161A00

    oklch(20.6% 0.048 117.2)

  • #001A29

    #001A29

    oklch(20.6% 0.045 236.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310118

    #310118

    oklch(20.6% 0.081 356.7)

  • #201600

    #201600

    oklch(20.7% 0.042 86.8)

  • #001D17

    #001D17

    oklch(20.6% 0.038 176.8)

  • #07123C

    #07123C

    oklch(20.6% 0.082 267)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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