#310203

Closest named color: Dark Maroon (#3C0008). oklch(20.1% 0.076 26.2), rgb(49, 2, 3).

Aa

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

About this color

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

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

Values

HEX#310203
RGBrgb(49, 2, 3)
HSLhsl(359, 92%, 10%)
OKLCHoklch(20.1% 0.076 26.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 #310203 18.41:1 AAA Lc -106.6 Preferred for body text
Black text on #310203 1.14:1 Fails Lc 0.0 Not readable
#310203 text on white 18.41:1 AAA Lc 104.3 Preferred for body text
#310203 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

    #FEF3F1

    oklch(97.2% 0.012 29.9)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F9CDC8

    oklch(88.5% 0.05 25.7)

  4. Step 300

    300

    #F6AAA2

    oklch(80.9% 0.091 25.9)

  5. Step 400

    400

    #ED7970

    oklch(70.7% 0.145 25.9)

  6. Step 500

    500

    #E4504A

    oklch(63.2% 0.185 26.2)

  7. Step 600

    600

    #CF292C

    oklch(55.6% 0.201 26.1)

  8. Step 700

    700

    #B3171E

    oklch(49.1% 0.188 26.2)

  9. Step 800

    800

    #91191B

    oklch(42.7% 0.155 26.2)

  10. Step 900

    900

    #751E1C

    oklch(37.8% 0.121 26.2)

  11. Step 950

    950 (this color)

    #310203

    oklch(20.1% 0.076 26.2)

Export this scale for Tailwind in the Tailwind colors tool

#310203 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)#100D030.083
Deuteranopia (no green cones)#1C18020.076
Tritanopia (no blue cones)#3700030.015
Achromatopsia (no color)#1414140.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #310203

    #310203

    oklch(20.1% 0.076 26.2)

  • #001A1E

    #001A1E

    oklch(19.9% 0.034 208.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310203

    #310203

    oklch(20.1% 0.076 26.2)

  • #2E0217

    #2E0217

    oklch(20% 0.076 356.2)

  • #260F00

    #260F00

    oklch(20% 0.049 56.5)

Open the analogous palette in the generator

Split complementary

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

  • #310203

    #310203

    oklch(20.1% 0.076 26.2)

  • #001C16

    #001C16

    oklch(20.2% 0.038 176.4)

  • #001927

    #001927

    oklch(20.2% 0.043 235.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310203

    #310203

    oklch(20.1% 0.076 26.2)

  • #001D04

    #001D04

    oklch(20.1% 0.061 146.3)

  • #061238

    #061238

    oklch(20.1% 0.076 265.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310203

    #310203

    oklch(20.1% 0.076 26.2)

  • #151900

    #151900

    oklch(20.2% 0.047 117.4)

  • #001A1E

    #001A1E

    oklch(19.9% 0.034 208.4)

  • #1A0B34

    #1A0B34

    oklch(20% 0.076 295.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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