#271F1A

Closest named color: Jet (#212529). oklch(24.7% 0.016 53.8), rgb(39, 31, 26).

Aa

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

About this color

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

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

Values

HEX#271F1A
RGBrgb(39, 31, 26)
HSLhsl(23, 20%, 13%)
OKLCHoklch(24.7% 0.016 53.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 #271F1A 16.18:1 AAA Lc -105.7 Preferred for body text
Black text on #271F1A 1.29:1 Fails Lc 0.0 Not readable
#271F1A text on white 16.18:1 AAA Lc 103.1 Preferred for body text
#271F1A text on black 1.29: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

    #EDE9E7

    oklch(93.7% 0.005 48.7)

  3. Step 200

    200

    #DFD7D3

    oklch(88.4% 0.01 48.6)

  4. Step 300

    300

    #CBBEB6

    oklch(81% 0.018 53.9)

  5. Step 400

    400

    #B09C90

    oklch(70.7% 0.029 53)

  6. Step 500

    500

    #9C8474

    oklch(63.1% 0.038 55.6)

  7. Step 600

    600

    #876D5D

    oklch(55.6% 0.041 53.2)

  8. Step 700

    700

    #725B4D

    oklch(49% 0.037 52.9)

  9. Step 800

    800

    #5D4B3F

    oklch(42.8% 0.031 55.4)

  10. Step 900

    900

    #4C3E35

    oklch(37.6% 0.025 54.5)

  11. Step 950

    950 (this color)

    #271F1A

    oklch(24.7% 0.016 53.8)

Export this scale for Tailwind in the Tailwind colors tool

#271F1A 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)#21201A0.012
Deuteranopia (no green cones)#23211A0.010
Tritanopia (no blue cones)#291E1E0.010
Achromatopsia (no color)#2121210.016

Harmonies

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

Complementary

The opposite hue (180°).

  • #271F1A

    #271F1A

    oklch(24.7% 0.016 53.8)

  • #1A2227

    #1A2227

    oklch(24.6% 0.015 235.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271F1A

    #271F1A

    oklch(24.7% 0.016 53.8)

  • #281E1D

    #281E1D

    oklch(24.7% 0.016 24.9)

  • #242019

    #242019

    oklch(24.6% 0.014 81.6)

Open the analogous palette in the generator

Split complementary

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

  • #271F1A

    #271F1A

    oklch(24.7% 0.016 53.8)

  • #182324

    #182324

    oklch(24.6% 0.016 203.2)

  • #1D2129

    #1D2129

    oklch(24.7% 0.016 264.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271F1A

    #271F1A

    oklch(24.7% 0.016 53.8)

  • #192320

    #192320

    oklch(24.5% 0.015 174.7)

  • #212028

    #212028

    oklch(24.8% 0.015 291)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271F1A

    #271F1A

    oklch(24.7% 0.016 53.8)

  • #1D231C

    #1D231C

    oklch(24.8% 0.016 141.1)

  • #1A2227

    #1A2227

    oklch(24.6% 0.015 235.6)

  • #251E25

    #251E25

    oklch(24.6% 0.017 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 #271F1A, closest first.

Similar named colors

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

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