#271D1D
Closest named color: Jet (#212529). oklch(24.3% 0.016 18.3), rgb(39, 29, 29).
Aa
White text reads best on this color (16.40:1).
About this color
#271D1D 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.030 away. White text reads best on it, at 16.40: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.40:1 |
Values
| HEX | #271D1D |
| RGB | rgb(39, 29, 29) |
| HSL | hsl(0, 15%, 13%) |
| OKLCH | oklch(24.3% 0.016 18.3) |
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 #271D1D | 16.40:1 | AAA | Lc -105.8 | Preferred for body text |
| Black text on #271D1D | 1.27:1 | Fails | Lc 0.0 | Not readable |
| #271D1D text on white | 16.40:1 | AAA | Lc 103.4 | Preferred for body text |
| #271D1D 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
#F7F5F5
oklch(97.2% 0.002 17.2)
-
Step 100
100
#EDE8E8
oklch(93.5% 0.005 17.3)
-
Step 200
200
#E0D6D6
oklch(88.4% 0.011 17.4)
-
Step 300
300
#CCBCBC
oklch(80.9% 0.018 17.5)
-
Step 400
400
#B39A99
oklch(70.8% 0.03 20.6)
-
Step 500
500
#9F8181
oklch(63.1% 0.037 18.2)
-
Step 600
600
#8A6A6A
oklch(55.6% 0.041 18.5)
-
Step 700
700
#755858
oklch(49% 0.038 18.6)
-
Step 800
800
#5F4848
oklch(42.6% 0.032 18.5)
-
Step 900
900
#4E3C3C
oklch(37.6% 0.025 18.3)
-
Step 950
950 (this color)
#271D1D
oklch(24.3% 0.016 18.3)
#271D1D 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) | #1F1E1D | 0.016 |
| Deuteranopia (no green cones) | #21201D | 0.015 |
| Tritanopia (no blue cones) | #291C1D | 0.005 |
| Achromatopsia (no color) | #1F1F1F | 0.016 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271D1D
#271D1D
oklch(24.3% 0.016 18.3)
- #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 #271D1D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.030
- Dark #1B2431 ΔE 0.041
- Dark Brown #341C02 ΔE 0.046
- Rich Black #0D1B2A ΔE 0.053
- Oxford Blue #1B263B ΔE 0.058
- Chocolate Brown #411900 ΔE 0.065
- Space Cadet #2B2D42 ΔE 0.076
- Dark Maroon #3C0008 ΔE 0.077
Use #271D1D 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.