#310F19

Closest named color: Dark Maroon (#3C0008). oklch(22.7% 0.056 4.3), rgb(49, 15, 25).

Aa

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

About this color

#310F19 is a very dark, muted red. In OKLCH its lightness is 23%, its chroma 0.056 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Maroon (#3C0008), ΔE 0.040 away. White text reads best on it, at 17.31:1.

Hue familyReds
Lightnessvery dark (23%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameDark Maroon (#3C0008)
Black text1.21:1
White text17.31:1

Values

HEX#310F19
RGBrgb(49, 15, 25)
HSLhsl(342, 53%, 13%)
OKLCHoklch(22.7% 0.056 4.3)

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 #310F19 17.31:1 AAA Lc -106.3 Preferred for body text
Black text on #310F19 1.21:1 Fails Lc 0.0 Not readable
#310F19 text on white 17.31:1 AAA Lc 103.9 Preferred for body text
#310F19 text on black 1.21: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

    #FBF3F5

    oklch(97.1% 0.009 0.1)

  2. Step 100

    100

    #F6E5E8

    oklch(93.6% 0.019 5.3)

  3. Step 200

    200

    #F0D0D6

    oklch(88.6% 0.037 5.1)

  4. Step 300

    300

    #E7AFBB

    oklch(80.9% 0.067 4.4)

  5. Step 400

    400

    #D98498

    oklch(70.8% 0.107 4.9)

  6. Step 500

    500

    #CC627F

    oklch(63.1% 0.137 4.5)

  7. Step 600

    600

    #B74669

    oklch(55.6% 0.149 4.1)

  8. Step 700

    700

    #9D3757

    oklch(49.1% 0.138 4.4)

  9. Step 800

    800

    #802E47

    oklch(42.7% 0.115 4.5)

  10. Step 900

    900

    #672A3C

    oklch(37.7% 0.09 3.9)

  11. Step 950

    950 (this color)

    #310F19

    oklch(22.7% 0.056 4.3)

Export this scale for Tailwind in the Tailwind colors tool

#310F19 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)#1516190.063
Deuteranopia (no green cones)#1E1D180.058
Tritanopia (no blue cones)#360B130.016
Achromatopsia (no color)#1B1B1B0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #310F19

    #310F19

    oklch(22.7% 0.056 4.3)

  • #00221E

    #00221E

    oklch(22.6% 0.04 183.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #310F19

    #310F19

    oklch(22.7% 0.056 4.3)

  • #2C1127

    #2C1127

    oklch(22.8% 0.056 334.7)

  • #321109

    #321109

    oklch(22.8% 0.056 34.9)

Open the analogous palette in the generator

Split complementary

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

  • #310F19

    #310F19

    oklch(22.7% 0.056 4.3)

  • #002410

    #002410

    oklch(22.9% 0.057 154.8)

  • #002128

    #002128

    oklch(22.8% 0.04 214.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #310F19

    #310F19

    oklch(22.7% 0.056 4.3)

  • #172000

    #172000

    oklch(22.6% 0.056 123.4)

  • #001E34

    #001E34

    oklch(22.6% 0.056 244)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #310F19

    #310F19

    oklch(22.7% 0.056 4.3)

  • #231C00

    #231C00

    oklch(22.8% 0.047 96)

  • #00221E

    #00221E

    oklch(22.6% 0.04 183.6)

  • #151936

    #151936

    oklch(22.7% 0.056 275.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #310F19 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.