#D8D8E2
Closest named color: Gainsboro (#DCDCDC). oklch(88.5% 0.014 286.1), rgb(216, 216, 226).
Aa
Black text reads best on this color (14.84:1).
About this color
#D8D8E2 is a light close to neutral grey. In OKLCH its lightness is 89%, its chroma 0.014. It has too little chroma to lean warm or cool. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.016 away. Black text reads best on it, at 14.84:1.
| Hue family | Neutrals |
| Lightness | light (89%) |
| Chroma | close to neutral grey (0.014) |
| Temperature | neutral |
| Nearest name | Gainsboro (#DCDCDC) |
| Black text | 14.84:1 |
| White text | 1.41:1 |
Values
| HEX | #D8D8E2 |
| RGB | rgb(216, 216, 226) |
| HSL | hsl(240, 15%, 87%) |
| OKLCH | oklch(88.5% 0.014 286.1) |
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 #D8D8E2 | 1.41:1 | Fails | Lc -22.8 | Dividers and decoration only |
| Black text on #D8D8E2 | 14.84:1 | AAA | Lc 83.7 | Fine for body text |
| #D8D8E2 text on white | 1.41:1 | Fails | Lc 20.0 | Dividers and decoration only |
| #D8D8E2 text on black | 14.84:1 | AAA | Lc -83.4 | Fine for body text |
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 200.
-
Step 50
50
#F5F5F7
oklch(97.1% 0.003 286.4)
-
Step 100
100
#E9E9ED
oklch(93.5% 0.005 286.3)
-
Step 200
200 (this color)
#D8D8E2
oklch(88.5% 0.014 286.1)
-
Step 300
300
#BFBFCC
oklch(80.9% 0.018 286)
-
Step 400
400
#9F9EB2
oklch(70.7% 0.029 287.9)
-
Step 500
500
#87879F
oklch(63.2% 0.036 285.3)
-
Step 600
600
#71708A
oklch(55.6% 0.04 286.8)
-
Step 700
700
#5F5E75
oklch(49.2% 0.037 287)
-
Step 800
800
#4D4D5F
oklch(42.7% 0.03 285.1)
-
Step 900
900
#40404E
oklch(37.7% 0.024 285.2)
-
Step 950
950
#26252D
oklch(26.9% 0.015 291.1)
#D8D8E2 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) | #D6D9E3 | 0.003 |
| Deuteranopia (no green cones) | #D6D8E2 | 0.003 |
| Tritanopia (no blue cones) | #D6DADB | 0.013 |
| Achromatopsia (no color) | #D9D9D9 | 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 #D8D8E2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gainsboro #DCDCDC ΔE 0.016
- Cadet Gray #CED4DA ΔE 0.020
- Light Gray #D3D3D3 ΔE 0.023
- Platinum #E0E1DD ΔE 0.030
- Pale Silver #D8E2DC ΔE 0.030
- Lavender #E6E6FA ΔE 0.048
- Powder Blue #B0E0E6 ΔE 0.051
- Light Blue #ADD8E6 ΔE 0.054
Use #D8D8E2 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.