#331B20

Closest named color: Jet (#212529). oklch(25.6% 0.039 6.7), rgb(51, 27, 32).

Aa

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

About this color

#331B20 is a dark, muted red. In OKLCH its lightness is 26%, its chroma 0.039 and its hue 7°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.044 away. White text reads best on it, at 15.92:1.

Hue familyReds
Lightnessdark (26%)
Chromamuted (0.039)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.31:1
White text15.92:1

Values

HEX#331B20
RGBrgb(51, 27, 32)
HSLhsl(348, 31%, 15%)
OKLCHoklch(25.6% 0.039 6.7)

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 #331B20 15.92:1 AAA Lc -105.4 Preferred for body text
Black text on #331B20 1.31:1 Fails Lc 0.0 Not readable
#331B20 text on white 15.92:1 AAA Lc 102.8 Preferred for body text
#331B20 text on black 1.31: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

    #F9F4F5

    oklch(97.1% 0.006 3.3)

  2. Step 100

    100

    #F2E6E8

    oklch(93.5% 0.013 5.8)

  3. Step 200

    200

    #E9D3D6

    oklch(88.6% 0.025 8.2)

  4. Step 300

    300

    #DCB5BC

    oklch(80.9% 0.046 6)

  5. Step 400

    400

    #C98E99

    oklch(70.8% 0.073 6.8)

  6. Step 500

    500

    #BA7180

    oklch(63.2% 0.094 6.8)

  7. Step 600

    600

    #A55869

    oklch(55.6% 0.102 6.9)

  8. Step 700

    700

    #8D4858

    oklch(49.1% 0.095 6.4)

  9. Step 800

    800

    #733B48

    oklch(42.7% 0.08 6.2)

  10. Step 900

    900

    #5D333C

    oklch(37.7% 0.062 6.7)

  11. Step 950

    950 (this color)

    #331B20

    oklch(25.6% 0.039 6.7)

Export this scale for Tailwind in the Tailwind colors tool

#331B20 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)#1F1F200.042
Deuteranopia (no green cones)#2524200.039
Tritanopia (no blue cones)#37191D0.010
Achromatopsia (no color)#2222220.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #331B20

    #331B20

    oklch(25.6% 0.039 6.7)

  • #072926

    #072926

    oklch(25.6% 0.039 186.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331B20

    #331B20

    oklch(25.6% 0.039 6.7)

  • #2F1C2A

    #2F1C2A

    oklch(25.7% 0.038 336.8)

  • #331C16

    #331C16

    oklch(25.6% 0.038 35.4)

Open the analogous palette in the generator

Split complementary

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

  • #331B20

    #331B20

    oklch(25.6% 0.039 6.7)

  • #12291B

    #12291B

    oklch(25.7% 0.04 155.6)

  • #08282F

    #08282F

    oklch(25.7% 0.039 215.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331B20

    #331B20

    oklch(25.6% 0.039 6.7)

  • #1E2711

    #1E2711

    oklch(25.7% 0.04 127.2)

  • #132535

    #132535

    oklch(25.7% 0.039 246.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331B20

    #331B20

    oklch(25.6% 0.039 6.7)

  • #28230C

    #28230C

    oklch(25.6% 0.038 97.3)

  • #072926

    #072926

    oklch(25.6% 0.039 186.7)

  • #1E2136

    #1E2136

    oklch(25.5% 0.04 277)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #331B20 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.