#271E18

Closest named color: Jet (#212529). oklch(24.4% 0.018 55.4), rgb(39, 30, 24).

Aa

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

About this color

#271E18 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.033 away. White text reads best on it, at 16.34:1.

Hue familyNeutrals
Lightnessvery dark (24%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameJet (#212529)
Black text1.28:1
White text16.34:1

Values

HEX#271E18
RGBrgb(39, 30, 24)
HSLhsl(24, 24%, 12%)
OKLCHoklch(24.4% 0.018 55.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 #271E18 16.34:1 AAA Lc -105.8 Preferred for body text
Black text on #271E18 1.28:1 Fails Lc 0.0 Not readable
#271E18 text on white 16.34:1 AAA Lc 103.3 Preferred for body text
#271E18 text on black 1.28: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

    #F7F5F4

    oklch(97.1% 0.003 48.7)

  2. Step 100

    100

    #EDE9E6

    oklch(93.6% 0.006 59.6)

  3. Step 200

    200

    #E0D7D2

    oklch(88.5% 0.012 51.3)

  4. Step 300

    300

    #CCBDB4

    oklch(80.8% 0.021 53.2)

  5. Step 400

    400

    #B29C8D

    oklch(70.8% 0.034 56.4)

  6. Step 500

    500

    #9F8371

    oklch(63.1% 0.043 54.5)

  7. Step 600

    600

    #896C59

    oklch(55.5% 0.047 54.8)

  8. Step 700

    700

    #755A49

    oklch(49.1% 0.044 53.6)

  9. Step 800

    800

    #5F4A3C

    oklch(42.7% 0.036 55.2)

  10. Step 900

    900

    #4E3E33

    oklch(37.8% 0.029 56.2)

  11. Step 950

    950 (this color)

    #271E18

    oklch(24.4% 0.018 55.4)

Export this scale for Tailwind in the Tailwind colors tool

#271E18 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)#211F180.012
Deuteranopia (no green cones)#2321180.013
Tritanopia (no blue cones)#2A1C1C0.013
Achromatopsia (no color)#2020200.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #271E18

    #271E18

    oklch(24.4% 0.018 55.4)

  • #182228

    #182228

    oklch(24.5% 0.018 234.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271E18

    #271E18

    oklch(24.4% 0.018 55.4)

  • #281D1C

    #281D1C

    oklch(24.4% 0.017 24.4)

  • #242016

    #242016

    oklch(24.5% 0.019 88.8)

Open the analogous palette in the generator

Split complementary

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

  • #271E18

    #271E18

    oklch(24.4% 0.018 55.4)

  • #162324

    #162324

    oklch(24.5% 0.018 202)

  • #1C2029

    #1C2029

    oklch(24.4% 0.018 266.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271E18

    #271E18

    oklch(24.4% 0.018 55.4)

  • #172320

    #172320

    oklch(24.4% 0.018 177.6)

  • #211F28

    #211F28

    oklch(24.5% 0.017 295.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271E18

    #271E18

    oklch(24.4% 0.018 55.4)

  • #1B221B

    #1B221B

    oklch(24.2% 0.017 145)

  • #182228

    #182228

    oklch(24.5% 0.018 234.8)

  • #251D25

    #251D25

    oklch(24.4% 0.019 326.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271E18 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.