#331717

Closest named color: Dark Brown (#341C02). oklch(24.5% 0.045 20.9), rgb(51, 23, 23).

Aa

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

About this color

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

Hue familyReds
Lightnessvery dark (25%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.27:1
White text16.46:1

Values

HEX#331717
RGBrgb(51, 23, 23)
HSLhsl(0, 38%, 15%)
OKLCHoklch(24.5% 0.045 20.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 #331717 16.46:1 AAA Lc -105.7 Preferred for body text
Black text on #331717 1.27:1 Fails Lc 0.0 Not readable
#331717 text on white 16.46:1 AAA Lc 103.2 Preferred for body text
#331717 text on black 1.27: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

    #ECD2D1

    oklch(88.5% 0.029 20.4)

  4. Step 300

    300

    #E1B4B2

    oklch(81% 0.053 21.3)

  5. Step 400

    400

    #D18B8A

    oklch(70.7% 0.086 20.3)

  6. Step 500

    500

    #C36D6D

    oklch(63.1% 0.109 20.6)

  7. Step 600

    600

    #AE5355

    oklch(55.5% 0.119 20.4)

  8. Step 700

    700

    #954345

    oklch(49% 0.111 20.5)

  9. Step 800

    800

    #793839

    oklch(42.7% 0.091 20.7)

  10. Step 900

    900

    #623131

    oklch(37.7% 0.071 21)

  11. Step 950

    950 (this color)

    #331717

    oklch(24.5% 0.045 20.9)

Export this scale for Tailwind in the Tailwind colors tool

#331717 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)#1D1C170.048
Deuteranopia (no green cones)#2421160.044
Tritanopia (no blue cones)#3813170.015
Achromatopsia (no color)#1F1F1F0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #331717

    #331717

    oklch(24.5% 0.045 20.9)

  • #002629

    #002629

    oklch(24.5% 0.042 202.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331717

    #331717

    oklch(24.5% 0.045 20.9)

  • #301723

    #301723

    oklch(24.5% 0.044 350.7)

  • #311A0B

    #311A0B

    oklch(24.6% 0.044 52.3)

Open the analogous palette in the generator

Split complementary

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

  • #331717

    #331717

    oklch(24.5% 0.045 20.9)

  • #03271D

    #03271D

    oklch(24.4% 0.045 170.3)

  • #042432

    #042432

    oklch(24.5% 0.045 231.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331717

    #331717

    oklch(24.5% 0.045 20.9)

  • #142611

    #142611

    oklch(24.6% 0.045 140.9)

  • #142036

    #142036

    oklch(24.5% 0.046 261.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331717

    #331717

    oklch(24.5% 0.045 20.9)

  • #212206

    #212206

    oklch(24.4% 0.045 111.2)

  • #002629

    #002629

    oklch(24.5% 0.042 202.7)

  • #211C34

    #211C34

    oklch(24.5% 0.045 292.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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