#331A23

Closest named color: Jet (#212529). oklch(25.5% 0.042 357.4), rgb(51, 26, 35).

Aa

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

About this color

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

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

Values

HEX#331A23
RGBrgb(51, 26, 35)
HSLhsl(338, 32%, 15%)
OKLCHoklch(25.5% 0.042 357.4)

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

    #F3E6EA

    oklch(93.6% 0.015 356.6)

  3. Step 200

    200

    #E9D2D9

    oklch(88.5% 0.027 357.3)

  4. Step 300

    300

    #DCB4C1

    oklch(80.9% 0.049 356.8)

  5. Step 400

    400

    #CA8CA1

    oklch(70.7% 0.08 357.3)

  6. Step 500

    500

    #BA6F8A

    oklch(63.1% 0.1 357.3)

  7. Step 600

    600

    #A55674

    oklch(55.6% 0.109 357.1)

  8. Step 700

    700

    #8E4661

    oklch(49.2% 0.102 357.8)

  9. Step 800

    800

    #733A4F

    oklch(42.8% 0.084 357.8)

  10. Step 900

    900

    #5D3242

    oklch(37.7% 0.066 357)

  11. Step 950

    950 (this color)

    #331A23

    oklch(25.5% 0.042 357.4)

Export this scale for Tailwind in the Tailwind colors tool

#331A23 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)#1D1F230.046
Deuteranopia (no green cones)#2323220.043
Tritanopia (no blue cones)#37191D0.013
Achromatopsia (no color)#2222220.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #331A23

    #331A23

    oklch(25.5% 0.042 357.4)

  • #062923

    #062923

    oklch(25.4% 0.041 179.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #331A23

    #331A23

    oklch(25.5% 0.042 357.4)

  • #2E1B2D

    #2E1B2D

    oklch(25.5% 0.043 328.6)

  • #351B18

    #351B18

    oklch(25.7% 0.042 27.3)

Open the analogous palette in the generator

Split complementary

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

  • #331A23

    #331A23

    oklch(25.5% 0.042 357.4)

  • #142817

    #142817

    oklch(25.4% 0.041 147.8)

  • #02282D

    #02282D

    oklch(25.4% 0.042 207.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #331A23

    #331A23

    oklch(25.5% 0.042 357.4)

  • #21260D

    #21260D

    oklch(25.7% 0.042 118.8)

  • #0C2635

    #0C2635

    oklch(25.6% 0.042 237)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #331A23

    #331A23

    oklch(25.5% 0.042 357.4)

  • #2B2208

    #2B2208

    oklch(25.6% 0.042 89.9)

  • #062923

    #062923

    oklch(25.4% 0.041 179.1)

  • #1A2237

    #1A2237

    oklch(25.5% 0.042 267.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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