#331E28

Closest named color: Jet (#212529). oklch(26.6% 0.036 349.8), rgb(51, 30, 40).

Aa

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

About this color

#331E28 is a dark, muted red. In OKLCH its lightness is 27%, its chroma 0.036 and its hue 350°. Its hue sits on the warm side of the wheel. The nearest named color is Jet (#212529), ΔE 0.040 away. White text reads best on it, at 15.47:1.

Hue familyReds
Lightnessdark (27%)
Chromamuted (0.036)
Temperaturewarm
Nearest nameJet (#212529)
Black text1.35:1
White text15.47:1

Values

HEX#331E28
RGBrgb(51, 30, 40)
HSLhsl(331, 26%, 16%)
OKLCHoklch(26.6% 0.036 349.8)

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 #331E28 15.47:1 AAA Lc -105.0 Preferred for body text
Black text on #331E28 1.35:1 Fails Lc 0.0 Not readable
#331E28 text on white 15.47:1 AAA Lc 102.3 Preferred for body text
#331E28 text on black 1.35: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

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F1E7EB

    oklch(93.7% 0.012 351)

  3. Step 200

    200

    #E6D3DB

    oklch(88.5% 0.024 350.2)

  4. Step 300

    300

    #D7B6C5

    oklch(80.9% 0.043 349)

  5. Step 400

    400

    #C28FA7

    oklch(70.6% 0.069 349.2)

  6. Step 500

    500

    #B27391

    oklch(63.1% 0.088 349.9)

  7. Step 600

    600

    #9D5B7B

    oklch(55.6% 0.095 350.2)

  8. Step 700

    700

    #864A68

    oklch(49% 0.09 349.6)

  9. Step 800

    800

    #6D3D55

    oklch(42.7% 0.075 349.4)

  10. Step 900

    900

    #593446

    oklch(37.7% 0.059 349.7)

  11. Step 950

    950 (this color)

    #331E28

    oklch(26.6% 0.036 349.8)

Export this scale for Tailwind in the Tailwind colors tool

#331E28 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)#2022280.039
Deuteranopia (no green cones)#2526270.037
Tritanopia (no blue cones)#361D210.014
Achromatopsia (no color)#2424240.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #331E28

    #331E28

    oklch(26.6% 0.036 349.8)

  • #112B23

    #112B23

    oklch(26.5% 0.036 171.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331E28

    #331E28

    oklch(26.6% 0.036 349.8)

  • #2D2031

    #2D2031

    oklch(26.7% 0.036 318.1)

  • #351E1E

    #351E1E

    oklch(26.5% 0.036 19.8)

Open the analogous palette in the generator

Split complementary

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

  • #331E28

    #331E28

    oklch(26.6% 0.036 349.8)

  • #1C2A19

    #1C2A19

    oklch(26.7% 0.036 140.1)

  • #0B2B2C

    #0B2B2C

    oklch(26.6% 0.037 198.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331E28

    #331E28

    oklch(26.6% 0.036 349.8)

  • #272711

    #272711

    oklch(26.6% 0.037 108.6)

  • #112934

    #112934

    oklch(26.7% 0.036 229.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331E28

    #331E28

    oklch(26.6% 0.036 349.8)

  • #2F2310

    #2F2310

    oklch(26.5% 0.036 77.7)

  • #112B23

    #112B23

    oklch(26.5% 0.036 171.1)

  • #1B2637

    #1B2637

    oklch(26.7% 0.036 258.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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