#28121C
Closest named color: Rich Black (#0D1B2A). oklch(21.8% 0.04 352.2), rgb(40, 18, 28).
Aa
White text reads best on this color (17.59:1).
About this color
#28121C is a very dark, muted red. In OKLCH its lightness is 22%, its chroma 0.040 and its hue 352°. Its hue sits on the warm side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.058 away. White text reads best on it, at 17.59:1.
| Hue family | Reds |
| Lightness | very dark (22%) |
| Chroma | muted (0.040) |
| Temperature | warm |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.19:1 |
| White text | 17.59:1 |
Values
| HEX | #28121C |
| RGB | rgb(40, 18, 28) |
| HSL | hsl(333, 38%, 11%) |
| OKLCH | oklch(21.8% 0.04 352.2) |
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 #28121C | 17.59:1 | AAA | Lc -106.6 | Preferred for body text |
| Black text on #28121C | 1.19:1 | Fails | Lc 0.0 | Not readable |
| #28121C text on white | 17.59:1 | AAA | Lc 104.3 | Preferred for body text |
| #28121C text on black | 1.19: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
#F9F4F6
oklch(97.2% 0.006 350.8)
-
Step 100
100
#F2E6EB
oklch(93.6% 0.015 350.1)
-
Step 200
200
#E8D2DB
oklch(88.4% 0.027 350.9)
-
Step 300
300
#DAB5C4
oklch(81% 0.047 351.9)
-
Step 400
400
#C68DA5
oklch(70.6% 0.076 352.2)
-
Step 500
500
#B6718F
oklch(63.1% 0.095 352.5)
-
Step 600
600
#A15879
oklch(55.6% 0.104 352.5)
-
Step 700
700
#8A4866
oklch(49.2% 0.097 352.6)
-
Step 800
800
#703B53
oklch(42.6% 0.081 352.5)
-
Step 900
900
#5B3345
oklch(37.7% 0.063 352.1)
-
Step 950
950 (this color)
#28121C
oklch(21.8% 0.04 352.2)
#28121C 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) | #14171C | 0.044 |
| Deuteranopia (no green cones) | #1A1A1B | 0.039 |
| Tritanopia (no blue cones) | #2B1116 | 0.013 |
| Achromatopsia (no color) | #191919 | 0.040 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #28121C
#28121C
oklch(21.8% 0.04 352.2)
- #022018
#022018
oklch(21.8% 0.04 172)
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 #28121C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.058
- Dark Maroon #3C0008 ΔE 0.059
- Jet #212529 ΔE 0.061
- Dark #1B2431 ΔE 0.064
- Eggplant #380835 ΔE 0.066
- Dark Brown #341C02 ΔE 0.067
- Very Dark Purple #2A0134 ΔE 0.070
- Dark Plum #3F012C ΔE 0.070
Use #28121C 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.