#31231C

Closest named color: Jet (#212529). oklch(27.1% 0.025 47.8), rgb(49, 35, 28).

Aa

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

About this color

#31231C is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.035 away. White text reads best on it, at 15.13:1.

Hue familyNeutrals
Lightnessdark (27%)
Chromaclose to neutral grey (0.025)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.38:1
White text15.13:1

Values

HEX#31231C
RGBrgb(49, 35, 28)
HSLhsl(20, 27%, 15%)
OKLCHoklch(27.1% 0.025 47.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 #31231C 15.13:1 AAA Lc -104.8 Preferred for body text
Black text on #31231C 1.38:1 Fails Lc 0.0 Not readable
#31231C text on white 15.13:1 AAA Lc 102.0 Preferred for body text
#31231C text on black 1.38: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

    #F8F5F3

    oklch(97.2% 0.004 56.4)

  2. Step 100

    100

    #EFE8E5

    oklch(93.6% 0.009 44.9)

  3. Step 200

    200

    #E3D6D0

    oklch(88.5% 0.017 46.6)

  4. Step 300

    300

    #D2BBB1

    oklch(80.9% 0.03 45)

  5. Step 400

    400

    #BA9887

    oklch(70.6% 0.048 48)

  6. Step 500

    500

    #A97F6A

    oklch(63.2% 0.061 47.7)

  7. Step 600

    600

    #946851

    oklch(55.7% 0.066 48.5)

  8. Step 700

    700

    #7E5642

    oklch(49.1% 0.062 47.4)

  9. Step 800

    800

    #664737

    oklch(42.8% 0.05 48.3)

  10. Step 900

    900

    #533B2F

    oklch(37.6% 0.04 47.6)

  11. Step 950

    950 (this color)

    #31231C

    oklch(27.1% 0.025 47.8)

Export this scale for Tailwind in the Tailwind colors tool

#31231C 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)#27241C0.020
Deuteranopia (no green cones)#2A271C0.019
Tritanopia (no blue cones)#3521210.015
Achromatopsia (no color)#2626260.025

Harmonies

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

Complementary

The opposite hue (180°).

  • #31231C

    #31231C

    oklch(27.1% 0.025 47.8)

  • #192930

    #192930

    oklch(27% 0.025 227.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31231C

    #31231C

    oklch(27.1% 0.025 47.8)

  • #322222

    #322222

    oklch(27.2% 0.025 18.8)

  • #2D2519

    #2D2519

    oklch(27% 0.024 77.5)

Open the analogous palette in the generator

Split complementary

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

  • #31231C

    #31231C

    oklch(27.1% 0.025 47.8)

  • #172A2B

    #172A2B

    oklch(26.9% 0.025 200)

  • #1F2733

    #1F2733

    oklch(27.1% 0.025 258.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31231C

    #31231C

    oklch(27.1% 0.025 47.8)

  • #1A2B24

    #1A2B24

    oklch(27.1% 0.026 166.8)

  • #262532

    #262532

    oklch(27.1% 0.024 288.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31231C

    #31231C

    oklch(27.1% 0.025 47.8)

  • #212A1E

    #212A1E

    oklch(27.2% 0.025 137.9)

  • #192930

    #192930

    oklch(27% 0.025 227.2)

  • #2C232F

    #2C232F

    oklch(27.2% 0.025 317.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31231C 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.