#310704

Closest named color: Dark Maroon (#3C0008). oklch(20.9% 0.069 29.8), rgb(49, 7, 4).

Aa

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

About this color

#310704 is a very dark, muted red. In OKLCH its lightness is 21%, its chroma 0.069 and its hue 30°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.030 away. White text reads best on it, at 18.06:1.

Hue familyReds
Lightnessvery dark (21%)
Chromamuted (0.069)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.16:1
White text18.06:1

Values

HEX#310704
RGBrgb(49, 7, 4)
HSLhsl(4, 85%, 10%)
OKLCHoklch(20.9% 0.069 29.8)

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 #310704 18.06:1 AAA Lc -106.5 Preferred for body text
Black text on #310704 1.16:1 Fails Lc 0.0 Not readable
#310704 text on white 18.06:1 AAA Lc 104.3 Preferred for body text
#310704 text on black 1.16: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

    #F9E4E1

    oklch(93.5% 0.023 27.3)

  3. Step 200

    200

    #F6CFC8

    oklch(88.6% 0.045 29.9)

  4. Step 300

    300

    #F1ADA2

    oklch(80.9% 0.082 29.3)

  5. Step 400

    400

    #E67F6F

    oklch(70.7% 0.13 30)

  6. Step 500

    500

    #DC5A49

    oklch(63.2% 0.166 29.9)

  7. Step 600

    600

    #C7392B

    oklch(55.5% 0.181 29.6)

  8. Step 700

    700

    #AC2A1D

    oklch(49.2% 0.169 29.9)

  9. Step 800

    800

    #8B251B

    oklch(42.6% 0.139 29.6)

  10. Step 900

    900

    #70251C

    oklch(37.7% 0.108 29.8)

  11. Step 950

    950 (this color)

    #310704

    oklch(20.9% 0.069 29.8)

Export this scale for Tailwind in the Tailwind colors tool

#310704 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)#1310030.074
Deuteranopia (no green cones)#1E1A030.067
Tritanopia (no blue cones)#3700070.021
Achromatopsia (no color)#1616160.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #310704

    #310704

    oklch(20.9% 0.069 29.8)

  • #001C21

    #001C21

    oklch(20.8% 0.036 210.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310704

    #310704

    oklch(20.9% 0.069 29.8)

  • #2F0617

    #2F0617

    oklch(20.9% 0.069 359.4)

  • #281200

    #281200

    oklch(21% 0.049 60.9)

Open the analogous palette in the generator

Split complementary

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

  • #310704

    #310704

    oklch(20.9% 0.069 29.8)

  • #001E19

    #001E19

    oklch(21.1% 0.038 179.9)

  • #001A2C

    #001A2C

    oklch(20.8% 0.049 241.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310704

    #310704

    oklch(20.9% 0.069 29.8)

  • #001F08

    #001F08

    oklch(20.9% 0.058 149.5)

  • #0C1437

    #0C1437

    oklch(20.8% 0.069 269.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310704

    #310704

    oklch(20.9% 0.069 29.8)

  • #151B00

    #151B00

    oklch(20.8% 0.05 120.4)

  • #001C21

    #001C21

    oklch(20.8% 0.036 210.8)

  • #1D0E32

    #1D0E32

    oklch(20.8% 0.069 299.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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