#271B19

Closest named color: Jet (#212529). oklch(23.6% 0.02 29.4), rgb(39, 27, 25).

Aa

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

About this color

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

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

Values

HEX#271B19
RGBrgb(39, 27, 25)
HSLhsl(9, 22%, 13%)
OKLCHoklch(23.6% 0.02 29.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 #271B19 16.70:1 AAA Lc -106.0 Preferred for body text
Black text on #271B19 1.25:1 Fails Lc 0.0 Not readable
#271B19 text on white 16.70:1 AAA Lc 103.6 Preferred for body text
#271B19 text on black 1.25: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

    #EEE8E7

    oklch(93.5% 0.007 28.8)

  3. Step 200

    200

    #E1D6D4

    oklch(88.4% 0.012 29.9)

  4. Step 300

    300

    #CFBBB8

    oklch(80.8% 0.023 27.8)

  5. Step 400

    400

    #B79893

    oklch(70.6% 0.038 28.8)

  6. Step 500

    500

    #A47F79

    oklch(63% 0.047 29)

  7. Step 600

    600

    #8F6862

    oklch(55.5% 0.051 28.7)

  8. Step 700

    700

    #7A5751

    oklch(49.2% 0.048 29.8)

  9. Step 800

    800

    #634742

    oklch(42.7% 0.04 30.2)

  10. Step 900

    900

    #513C38

    oklch(37.8% 0.031 30.8)

  11. Step 950

    950 (this color)

    #271B19

    oklch(23.6% 0.02 29.4)

Export this scale for Tailwind in the Tailwind colors tool

#271B19 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)#1E1C190.018
Deuteranopia (no green cones)#201F190.019
Tritanopia (no blue cones)#2A1A1A0.008
Achromatopsia (no color)#1E1E1E0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #271B19

    #271B19

    oklch(23.6% 0.02 29.4)

  • #132123

    #132123

    oklch(23.6% 0.02 207.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271B19

    #271B19

    oklch(23.6% 0.02 29.4)

  • #261B1E

    #261B1E

    oklch(23.7% 0.018 0.5)

  • #251C15

    #251C15

    oklch(23.5% 0.019 59.5)

Open the analogous palette in the generator

Split complementary

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

  • #271B19

    #271B19

    oklch(23.6% 0.02 29.4)

  • #14221F

    #14221F

    oklch(23.8% 0.02 179.6)

  • #162027

    #162027

    oklch(23.7% 0.02 239.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271B19

    #271B19

    oklch(23.6% 0.02 29.4)

  • #182119

    #182119

    oklch(23.6% 0.02 147.9)

  • #1B1E28

    #1B1E28

    oklch(23.7% 0.02 271.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271B19

    #271B19

    oklch(23.6% 0.02 29.4)

  • #1D2015

    #1D2015

    oklch(23.7% 0.021 120.4)

  • #132123

    #132123

    oklch(23.6% 0.02 207.2)

  • #201C26

    #201C26

    oklch(23.5% 0.02 303.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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