#271F25
Closest named color: Jet (#212529). oklch(25.1% 0.016 334.9), rgb(39, 31, 37).
Aa
White text reads best on this color (16.04:1).
About this color
#271F25 is a 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.021 away. White text reads best on it, at 16.04:1.
| Hue family | Neutrals |
| Lightness | dark (25%) |
| Chroma | close to neutral grey (0.016) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.30:1 |
| White text | 16.04:1 |
Values
| HEX | #271F25 |
| RGB | rgb(39, 31, 37) |
| HSL | hsl(315, 11%, 14%) |
| OKLCH | oklch(25.1% 0.016 334.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 #271F25 | 16.04:1 | AAA | Lc -105.6 | Preferred for body text |
| Black text on #271F25 | 1.30:1 | Fails | Lc 0.0 | Not readable |
| #271F25 text on white | 16.04:1 | AAA | Lc 103.0 | Preferred for body text |
| #271F25 text on black | 1.30: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
#F7F5F6
oklch(97.2% 0.002 345.2)
-
Step 100
100
#ECE8EB
oklch(93.5% 0.006 334)
-
Step 200
200
#DED7DC
oklch(88.6% 0.01 335.5)
-
Step 300
300
#C9BCC6
oklch(80.9% 0.02 333.5)
-
Step 400
400
#AD9AA8
oklch(70.7% 0.03 335.1)
-
Step 500
500
#998193
oklch(63.1% 0.039 334.9)
-
Step 600
600
#846A7D
oklch(55.6% 0.043 335.9)
-
Step 700
700
#6F586A
oklch(49% 0.04 333.9)
-
Step 800
800
#5B4856
oklch(42.6% 0.034 335.7)
-
Step 900
900
#4B3D47
oklch(37.8% 0.025 336.5)
-
Step 950
950 (this color)
#271F25
oklch(25.1% 0.016 334.9)
#271F25 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) | #1F2125 | 0.016 |
| Deuteranopia (no green cones) | #212225 | 0.015 |
| Tritanopia (no blue cones) | #281F21 | 0.008 |
| Achromatopsia (no color) | #212121 | 0.017 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #271F25
#271F25
oklch(25.1% 0.016 334.9)
- #1C241E
#1C241E
oklch(25% 0.016 152.7)
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 #271F25, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.021
- Dark #1B2431 ΔE 0.030
- Oxford Blue #1B263B ΔE 0.044
- Rich Black #0D1B2A ΔE 0.050
- Dark Brown #341C02 ΔE 0.056
- Space Cadet #2B2D42 ΔE 0.062
- Gunmetal #293241 ΔE 0.071
- Chocolate Brown #411900 ΔE 0.072
Use #271F25 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.