#310403

Closest named color: Dark Maroon (#3C0008). oklch(20.4% 0.073 28.2), rgb(49, 4, 3).

Aa

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

About this color

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

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

Values

HEX#310403
RGBrgb(49, 4, 3)
HSLhsl(1, 88%, 10%)
OKLCHoklch(20.4% 0.073 28.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 #310403 18.27:1 AAA Lc -106.6 Preferred for body text
Black text on #310403 1.14:1 Fails Lc 0.0 Not readable
#310403 text on white 18.27:1 AAA Lc 104.3 Preferred for body text
#310403 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

    #FAE4E1

    oklch(93.6% 0.025 26.9)

  3. Step 200

    200

    #F8CEC7

    oklch(88.6% 0.049 29.1)

  4. Step 300

    300

    #F4ACA1

    oklch(81% 0.087 28.8)

  5. Step 400

    400

    #EA7C6E

    oklch(70.7% 0.138 28.6)

  6. Step 500

    500

    #E05448

    oklch(63% 0.177 28.1)

  7. Step 600

    600

    #CC3129

    oklch(55.7% 0.193 28.3)

  8. Step 700

    700

    #B0201C

    oklch(49.1% 0.18 28)

  9. Step 800

    800

    #8F1F19

    oklch(42.8% 0.149 28.4)

  10. Step 900

    900

    #73211B

    oklch(37.7% 0.116 28.1)

  11. Step 950

    950 (this color)

    #310403

    oklch(20.4% 0.073 28.2)

Export this scale for Tailwind in the Tailwind colors tool

#310403 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)#1D19020.072
Tritanopia (no blue cones)#3700040.016
Achromatopsia (no color)#1515150.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #310403

    #310403

    oklch(20.4% 0.073 28.2)

  • #001B1F

    #001B1F

    oklch(20.3% 0.035 208)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310403

    #310403

    oklch(20.4% 0.073 28.2)

  • #2F0417

    #2F0417

    oklch(20.6% 0.073 358.2)

  • #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°).

  • #310403

    #310403

    oklch(20.4% 0.073 28.2)

  • #001C17

    #001C17

    oklch(20.3% 0.037 179.2)

  • #001929

    #001929

    oklch(20.3% 0.046 238.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310403

    #310403

    oklch(20.4% 0.073 28.2)

  • #001E06

    #001E06

    oklch(20.5% 0.059 147.9)

  • #091338

    #091338

    oklch(20.5% 0.073 267.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310403

    #310403

    oklch(20.4% 0.073 28.2)

  • #151A00

    #151A00

    oklch(20.5% 0.048 118.9)

  • #001B1F

    #001B1F

    oklch(20.3% 0.035 208)

  • #1C0C33

    #1C0C33

    oklch(20.4% 0.073 298.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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