#18121F
Closest named color: Rich Black (#0D1B2A). oklch(19.6% 0.027 305.2), rgb(24, 18, 31).
Aa
White text reads best on this color (18.33:1).
About this color
#18121F is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Rich Black (#0D1B2A), ΔE 0.036 away. White text reads best on it, at 18.33:1.
| Hue family | Neutrals |
| Lightness | very dark (20%) |
| Chroma | close to neutral grey (0.027) |
| Temperature | neutral |
| Nearest name | Rich Black (#0D1B2A) |
| Black text | 1.14:1 |
| White text | 18.33:1 |
Values
| HEX | #18121F |
| RGB | rgb(24, 18, 31) |
| HSL | hsl(268, 27%, 10%) |
| OKLCH | oklch(19.6% 0.027 305.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 #18121F | 18.33:1 | AAA | Lc -107.1 | Preferred for body text |
| Black text on #18121F | 1.14:1 | Fails | Lc 0.0 | Not readable |
| #18121F text on white | 18.33:1 | AAA | Lc 105.0 | Preferred for body text |
| #18121F text on black | 1.14: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
#F6F5F8
oklch(97.2% 0.004 301.4)
-
Step 100
100
#EBE8EF
oklch(93.5% 0.01 305.4)
-
Step 200
200
#DCD6E3
oklch(88.5% 0.019 306.6)
-
Step 300
300
#C5BCD2
oklch(80.9% 0.032 304.2)
-
Step 400
400
#A899BB
oklch(70.7% 0.052 305.1)
-
Step 500
500
#9380AA
oklch(63.2% 0.065 305.2)
-
Step 600
600
#7D6995
oklch(55.7% 0.071 305)
-
Step 700
700
#69577F
oklch(49% 0.066 304.7)
-
Step 800
800
#564767
oklch(42.6% 0.055 305.6)
-
Step 900
900
#473C54
oklch(37.7% 0.043 305.3)
-
Step 950
950 (this color)
#18121F
oklch(19.6% 0.027 305.2)
#18121F 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) | #0F1420 | 0.018 |
| Deuteranopia (no green cones) | #11151F | 0.017 |
| Tritanopia (no blue cones) | #171417 | 0.020 |
| Achromatopsia (no color) | #151515 | 0.027 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #18121F
#18121F
oklch(19.6% 0.027 305.2)
- #12170A
#12170A
oklch(19.5% 0.026 125.8)
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 #18121F, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Rich Black #0D1B2A ΔE 0.036
- Rich Navy #001219 ΔE 0.047
- Almost Black #070D0D ΔE 0.054
- Dark #1B2431 ΔE 0.066
- Jet #212529 ΔE 0.070
- Very Dark Purple #2A0134 ΔE 0.074
- Very Dark Brown #1D0200 ΔE 0.075
- Midnight Purple #280137 ΔE 0.075
Use #18121F 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.