#271A22
Closest named color: Jet (#212529). oklch(23.7% 0.025 341.7), rgb(39, 26, 34).
Aa
White text reads best on this color (16.70:1).
About this color
#271A22 is a very dark close to neutral grey. In OKLCH its lightness is 24%, its chroma 0.025. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.037 away. White text reads best on it, at 16.70:1.
| Hue family | Neutrals |
| Lightness | very dark (24%) |
| Chroma | close to neutral grey (0.025) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.25:1 |
| White text | 16.70:1 |
Values
| HEX | #271A22 |
| RGB | rgb(39, 26, 34) |
| HSL | hsl(323, 20%, 13%) |
| OKLCH | oklch(23.7% 0.025 341.7) |
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 #271A22 | 16.70:1 | AAA | Lc -106.0 | Preferred for body text |
| Black text on #271A22 | 1.25:1 | Fails | Lc 0.0 | Not readable |
| #271A22 text on white | 16.70:1 | AAA | Lc 103.6 | Preferred for body text |
| #271A22 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.
-
Step 50
50
#F7F4F6
oklch(97% 0.004 337.4)
-
Step 100
100
#EEE8EB
oklch(93.7% 0.008 345.4)
-
Step 200
200
#E1D5DC
oklch(88.5% 0.016 341.4)
-
Step 300
300
#CFB9C6
oklch(80.8% 0.031 341.5)
-
Step 400
400
#B695A9
oklch(70.6% 0.048 341.4)
-
Step 500
500
#A47B94
oklch(63.1% 0.061 341.8)
-
Step 600
600
#8E647E
oklch(55.5% 0.065 341.8)
-
Step 700
700
#79536B
oklch(49.1% 0.061 341.3)
-
Step 800
800
#624457
oklch(42.7% 0.05 341.1)
-
Step 900
900
#503948
oklch(37.6% 0.04 340)
-
Step 950
950 (this color)
#271A22
oklch(23.7% 0.025 341.7)
#271A22 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) | #1B1D22 | 0.025 |
| Deuteranopia (no green cones) | #1E1F22 | 0.024 |
| Tritanopia (no blue cones) | #291A1D | 0.010 |
| Achromatopsia (no color) | #1E1E1E | 0.025 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271A22
#271A22
oklch(23.7% 0.025 341.7)
- #14221B
#14221B
oklch(23.6% 0.024 162.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 #271A22, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.037
- Dark #1B2431 ΔE 0.041
- Rich Black #0D1B2A ΔE 0.048
- Oxford Blue #1B263B ΔE 0.055
- Dark Brown #341C02 ΔE 0.059
- Eggplant #380835 ΔE 0.071
- Dark Maroon #3C0008 ΔE 0.074
- Chocolate Brown #411900 ΔE 0.074
Use #271A22 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.