#331817

Closest named color: Dark Brown (#341C02). oklch(24.7% 0.044 22.9), rgb(51, 24, 23).

Aa

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

About this color

#331817 is a very dark, muted red. In OKLCH its lightness is 25%, its chroma 0.044 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.037 away. White text reads best on it, at 16.35:1.

Hue familyReds
Lightnessvery dark (25%)
Chromamuted (0.044)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.28:1
White text16.35:1

Values

HEX#331817
RGBrgb(51, 24, 23)
HSLhsl(2, 38%, 15%)
OKLCHoklch(24.7% 0.044 22.9)

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 #331817 16.35:1 AAA Lc -105.7 Preferred for body text
Black text on #331817 1.28:1 Fails Lc 0.0 Not readable
#331817 text on white 16.35:1 AAA Lc 103.2 Preferred for body text
#331817 text on black 1.28: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

    #FAF4F3

    oklch(97.2% 0.007 28.8)

  2. Step 100

    100

    #F4E6E5

    oklch(93.6% 0.015 22.4)

  3. Step 200

    200

    #ECD2D0

    oklch(88.5% 0.029 23)

  4. Step 300

    300

    #E0B4B1

    oklch(80.8% 0.051 22.8)

  5. Step 400

    400

    #CF8C88

    oklch(70.6% 0.083 23.1)

  6. Step 500

    500

    #C16E6B

    oklch(63% 0.106 22.7)

  7. Step 600

    600

    #AC5553

    oklch(55.5% 0.115 22.8)

  8. Step 700

    700

    #944543

    oklch(49.1% 0.107 23.3)

  9. Step 800

    800

    #783938

    oklch(42.7% 0.088 22.4)

  10. Step 900

    900

    #613230

    oklch(37.7% 0.068 23.4)

  11. Step 950

    950 (this color)

    #331817

    oklch(24.7% 0.044 22.9)

Export this scale for Tailwind in the Tailwind colors tool

#331817 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)#1E1C170.045
Deuteranopia (no green cones)#2422170.043
Tritanopia (no blue cones)#3814180.015
Achromatopsia (no color)#2020200.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #331817

    #331817

    oklch(24.7% 0.044 22.9)

  • #00272A

    #00272A

    oklch(24.8% 0.042 202.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331817

    #331817

    oklch(24.7% 0.044 22.9)

  • #311823

    #311823

    oklch(24.8% 0.043 352.9)

  • #311B0C

    #311B0C

    oklch(24.8% 0.043 53.7)

Open the analogous palette in the generator

Split complementary

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

  • #331817

    #331817

    oklch(24.7% 0.044 22.9)

  • #04281F

    #04281F

    oklch(24.9% 0.044 172.4)

  • #072432

    #072432

    oklch(24.6% 0.043 233.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331817

    #331817

    oklch(24.7% 0.044 22.9)

  • #142613

    #142613

    oklch(24.7% 0.042 143)

  • #162136

    #162136

    oklch(24.9% 0.043 262.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331817

    #331817

    oklch(24.7% 0.044 22.9)

  • #212308

    #212308

    oklch(24.7% 0.044 113.1)

  • #00272A

    #00272A

    oklch(24.8% 0.042 202.5)

  • #221D34

    #221D34

    oklch(24.8% 0.043 293)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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