#28271F
Closest named color: Jet (#212529). oklch(27.1% 0.014 101.4), rgb(40, 39, 31).
Aa
White text reads best on this color (14.99:1).
About this color
#28271F is a dark close to neutral grey. In OKLCH its lightness is 27%, its chroma 0.014. It has too little chroma to lean warm or cool. The nearest named color is Jet (#212529), ΔE 0.025 away. White text reads best on it, at 14.99:1.
| Hue family | Neutrals |
| Lightness | dark (27%) |
| Chroma | close to neutral grey (0.014) |
| Temperature | neutral |
| Nearest name | Jet (#212529) |
| Black text | 1.40:1 |
| White text | 14.99:1 |
Values
| HEX | #28271F |
| RGB | rgb(40, 39, 31) |
| HSL | hsl(53, 13%, 14%) |
| OKLCH | oklch(27.1% 0.014 101.4) |
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 #28271F | 14.99:1 | AAA | Lc -104.7 | Preferred for body text |
| Black text on #28271F | 1.40:1 | Fails | Lc 0.0 | Not readable |
| #28271F text on white | 14.99:1 | AAA | Lc 101.9 | Preferred for body text |
| #28271F text on black | 1.40: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
#F6F5F4
oklch(97.1% 0.002 67.8)
-
Step 100
100
#EAEAE6
oklch(93.6% 0.005 106.5)
-
Step 200
200
#DAD9D2
oklch(88.4% 0.01 100)
-
Step 300
300
#C3C1B5
oklch(80.9% 0.017 99)
-
Step 400
400
#A4A18E
oklch(70.6% 0.027 99.7)
-
Step 500
500
#8E8B73
oklch(63.3% 0.035 101.4)
-
Step 600
600
#78745B
oklch(55.6% 0.037 99.9)
-
Step 700
700
#65624B
oklch(49.2% 0.035 101.4)
-
Step 800
800
#52503D
oklch(42.8% 0.03 102.6)
-
Step 900
900
#444234
oklch(37.7% 0.023 100.7)
-
Step 950
950 (this color)
#28271F
oklch(27.1% 0.014 101.4)
#28271F 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) | #29261F | 0.004 |
| Deuteranopia (no green cones) | #29271F | 0.002 |
| Tritanopia (no blue cones) | #292625 | 0.013 |
| Achromatopsia (no color) | #272727 | 0.014 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
This color is close to neutral, so it has no meaningful hue to rotate. Hue harmonies are omitted.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #28271F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Jet #212529 ΔE 0.025
- Dark #1B2431 ΔE 0.043
- Dark Brown #341C02 ΔE 0.047
- Oxford Blue #1B263B ΔE 0.056
- Pakistan Green #283618 ΔE 0.058
- Gunmetal #293241 ΔE 0.062
- Space Cadet #2B2D42 ΔE 0.062
- Chocolate Brown #411900 ΔE 0.064
Use #28271F 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.