#271D1C
Closest named color: Jet (#212529). oklch(24.2% 0.016 24.9), rgb(39, 29, 28).
Aa
White text reads best on this color (16.42:1).
About this color
#271D1C is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.016. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.031 away. White text reads best on it, at 16.42:1.
| Hue family | Neutrals |
| Lightness | very dark (24%) |
| Chroma | close to neutral grey (0.016) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.27:1 |
| White text | 16.42:1 |
Values
| HEX | #271D1C |
| RGB | rgb(39, 29, 28) |
| HSL | hsl(5, 16%, 13%) |
| OKLCH | oklch(24.2% 0.016 24.9) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #271D1C | 16.42:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #271D1C | 1.27:1 | Fails | Lc 0.0 | Not readable |
| #271D1C text on white | 16.42:1 | AAA | Lc 103.4 | Preferred for body text |
| #271D1C text on black | 1.27: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.
-
Step 50
50
#F7F5F4
oklch(97.1% 0.003 48.7)
-
Step 100
100
#EDE8E8
oklch(93.5% 0.005 17.3)
-
Step 200
200
#E0D7D6
oklch(88.6% 0.01 25.1)
-
Step 300
300
#CDBCBA
oklch(80.9% 0.02 25.6)
-
Step 400
400
#B39A97
oklch(70.8% 0.03 26)
-
Step 500
500
#A0817E
oklch(63.2% 0.039 24.7)
-
Step 600
600
#8A6A67
oklch(55.5% 0.041 24.7)
-
Step 700
700
#755856
oklch(49% 0.039 23.1)
-
Step 800
800
#604846
oklch(42.7% 0.033 24)
-
Step 900
900
#4E3D3B
oklch(37.8% 0.024 26.1)
-
Step 950
950 (this color)
#271D1C
oklch(24.2% 0.016 24.9)
#271D1C 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #1F1E1C | 0.016 |
| Deuteranopia (no green cones) | #21201C | 0.015 |
| Tritanopia (no blue cones) | #291C1D | 0.006 |
| Achromatopsia (no color) | #1F1F1F | 0.016 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271D1C
#271D1C
oklch(24.2% 0.016 24.9)
- #172223
#172223
oklch(24.2% 0.016 203.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #271D1C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.031
- Dark #1B2431 ΔE 0.042
- Dark Brown #341C02 ΔE 0.044
- Rich Black #0D1B2A ΔE 0.054
- Oxford Blue #1B263B ΔE 0.059
- Chocolate Brown #411900 ΔE 0.064
- Dark Maroon #3C0008 ΔE 0.077
- Space Cadet #2B2D42 ΔE 0.077
Use #271D1C 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.