#310303

Closest named color: Dark Maroon (#3C0008). oklch(20.3% 0.075 27.2), rgb(49, 3, 3).

Aa

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

About this color

#310303 is a very dark, moderately saturated red. In OKLCH its lightness is 20%, its chroma 0.075 and its hue 27°. 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.34:1.

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

Values

HEX#310303
RGBrgb(49, 3, 3)
HSLhsl(0, 88%, 10%)
OKLCHoklch(20.3% 0.075 27.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 #310303 18.34:1 AAA Lc -106.6 Preferred for body text
Black text on #310303 1.14:1 Fails Lc 0.0 Not readable
#310303 text on white 18.34:1 AAA Lc 104.3 Preferred for body text
#310303 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

    #FDF3F1

    oklch(97.1% 0.011 31.1)

  2. Step 100

    100

    #FBE4E1

    oklch(93.7% 0.026 26.5)

  3. Step 200

    200

    #F8CDC8

    oklch(88.4% 0.049 25.9)

  4. Step 300

    300

    #F5ABA2

    oklch(81% 0.089 26.9)

  5. Step 400

    400

    #EC7A6F

    oklch(70.7% 0.143 27)

  6. Step 500

    500

    #E25249

    oklch(63.1% 0.181 27.1)

  7. Step 600

    600

    #CD2D2A

    oklch(55.5% 0.197 27.2)

  8. Step 700

    700

    #B11C1D

    oklch(49% 0.183 27.1)

  9. Step 800

    800

    #901C1A

    oklch(42.7% 0.152 27.2)

  10. Step 900

    900

    #74201C

    oklch(37.8% 0.118 27.1)

  11. Step 950

    950 (this color)

    #310303

    oklch(20.3% 0.075 27.2)

Export this scale for Tailwind in the Tailwind colors tool

#310303 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)#110E030.080
Deuteranopia (no green cones)#1C18020.074
Tritanopia (no blue cones)#3700030.015
Achromatopsia (no color)#1515150.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #310303

    #310303

    oklch(20.3% 0.075 27.2)

  • #001B1F

    #001B1F

    oklch(20.3% 0.035 208)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310303

    #310303

    oklch(20.3% 0.075 27.2)

  • #2F0317

    #2F0317

    oklch(20.4% 0.075 357.6)

  • #271000

    #271000

    oklch(20.4% 0.049 57.5)

Open the analogous palette in the generator

Split complementary

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

  • #310303

    #310303

    oklch(20.3% 0.075 27.2)

  • #001C16

    #001C16

    oklch(20.2% 0.038 176.4)

  • #001928

    #001928

    oklch(20.2% 0.044 237.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310303

    #310303

    oklch(20.3% 0.075 27.2)

  • #001D05

    #001D05

    oklch(20.1% 0.059 147.3)

  • #081238

    #081238

    oklch(20.2% 0.075 267.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310303

    #310303

    oklch(20.3% 0.075 27.2)

  • #151900

    #151900

    oklch(20.2% 0.047 117.4)

  • #001B1F

    #001B1F

    oklch(20.3% 0.035 208)

  • #1B0C34

    #1B0C34

    oklch(20.3% 0.075 296.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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