#310207

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

Aa

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

About this color

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

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

Values

HEX#310207
RGBrgb(49, 2, 7)
HSLhsl(354, 92%, 10%)
OKLCHoklch(20.2% 0.076 20.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 #310207 18.38:1 AAA Lc -106.6 Preferred for body text
Black text on #310207 1.14:1 Fails Lc 0.0 Not readable
#310207 text on white 18.38:1 AAA Lc 104.3 Preferred for body text
#310207 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE3E3

    oklch(93.5% 0.026 17.6)

  3. Step 200

    200

    #F9CDCB

    oklch(88.6% 0.05 21.2)

  4. Step 300

    300

    #F5AAA8

    oklch(80.9% 0.089 20.9)

  5. Step 400

    400

    #ED787A

    oklch(70.7% 0.145 20.4)

  6. Step 500

    500

    #E34E59

    oklch(63.1% 0.184 20)

  7. Step 600

    600

    #CE283E

    oklch(55.6% 0.199 20.4)

  8. Step 700

    700

    #B21631

    oklch(49.1% 0.186 20.1)

  9. Step 800

    800

    #901829

    oklch(42.6% 0.153 20.1)

  10. Step 900

    900

    #741D25

    oklch(37.6% 0.12 20.2)

  11. Step 950

    950 (this color)

    #310207

    oklch(20.2% 0.076 20.2)

Export this scale for Tailwind in the Tailwind colors tool

#310207 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)#0F0D070.085
Deuteranopia (no green cones)#1C18060.076
Tritanopia (no blue cones)#3700040.015
Achromatopsia (no color)#1414140.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #310207

    #310207

    oklch(20.2% 0.076 20.2)

  • #001B1D

    #001B1D

    oklch(20.2% 0.034 201.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310207

    #310207

    oklch(20.2% 0.076 20.2)

  • #2D031B

    #2D031B

    oklch(20.2% 0.075 350.1)

  • #290D00

    #290D00

    oklch(20.2% 0.054 49)

Open the analogous palette in the generator

Split complementary

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

  • #310207

    #310207

    oklch(20.2% 0.076 20.2)

  • #001C14

    #001C14

    oklch(20.2% 0.039 171.2)

  • #001925

    #001925

    oklch(20% 0.04 231.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310207

    #310207

    oklch(20.2% 0.076 20.2)

  • #031D00

    #031D00

    oklch(20.2% 0.065 140.3)

  • #021438

    #021438

    oklch(20.3% 0.075 260.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310207

    #310207

    oklch(20.2% 0.076 20.2)

  • #181800

    #181800

    oklch(20.2% 0.044 109.8)

  • #001B1D

    #001B1D

    oklch(20.2% 0.034 201.5)

  • #180D36

    #180D36

    oklch(20.3% 0.076 290.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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