#ECD7DC

Closest named color: Gainsboro (#DCDCDC). oklch(89.8% 0.024 1.4), rgb(236, 215, 220).

Aa

Black text reads best on this color (15.32:1).

About this color

#ECD7DC is a light close to neutral grey. In OKLCH its lightness is 90%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Gainsboro (#DCDCDC), ΔE 0.024 away. Black text reads best on it, at 15.32:1.

Hue familyNeutrals
Lightnesslight (90%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameGainsboro (#DCDCDC)
Black text15.32:1
White text1.37:1

Values

HEX#ECD7DC
RGBrgb(236, 215, 220)
HSLhsl(346, 36%, 88%)
OKLCHoklch(89.8% 0.024 1.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #ECD7DC 1.37:1 Fails Lc -20.7 Dividers and decoration only
Black text on #ECD7DC 15.32:1 AAA Lc 85.6 Fine for body text
#ECD7DC text on white 1.37:1 Fails Lc 18.1 Dividers and decoration only
#ECD7DC text on black 15.32:1 AAA Lc -85.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.

  1. Step 50

    50

    #F8F4F5

    oklch(97.1% 0.004 360)

  2. Step 100

    100

    #EFE7E9

    oklch(93.5% 0.009 0.1)

  3. Step 200

    200 (this color)

    #ECD7DC

    oklch(89.8% 0.024 1.4)

  4. Step 300

    300

    #D3B9BF

    oklch(81% 0.031 2.2)

  5. Step 400

    400

    #BC949E

    oklch(70.7% 0.05 1.8)

  6. Step 500

    500

    #AB7A87

    oklch(63.2% 0.063 1.6)

  7. Step 600

    600

    #956270

    oklch(55.5% 0.069 1.7)

  8. Step 700

    700

    #7F515E

    oklch(49% 0.064 1.3)

  9. Step 800

    800

    #68434D

    oklch(42.8% 0.053 1.9)

  10. Step 900

    900

    #543840

    oklch(37.6% 0.042 0.6)

  11. Step 950

    950

    #312125

    oklch(26.9% 0.026 2.4)

Export this scale for Tailwind in the Tailwind colors tool

#ECD7DC 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#D9DADC0.026
Deuteranopia (no green cones)#DEDDDC0.023
Tritanopia (no blue cones)#F0D6D90.006
Achromatopsia (no color)#DCDCDC0.024

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #ECD7DC

    #ECD7DC

    oklch(89.8% 0.024 1.4)

  • #CDE3DE

    #CDE3DE

    oklch(89.8% 0.024 180.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECD7DC

    #ECD7DC

    oklch(89.8% 0.024 1.4)

  • #E7D8E5

    #E7D8E5

    oklch(89.8% 0.024 330)

  • #EDD8D4

    #EDD8D4

    oklch(89.8% 0.024 30.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #ECD7DC

    #ECD7DC

    oklch(89.8% 0.024 1.4)

  • #D2E2D5

    #D2E2D5

    oklch(89.7% 0.024 151.2)

  • #CCE2E6

    #CCE2E6

    oklch(89.8% 0.024 209.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECD7DC

    #ECD7DC

    oklch(89.8% 0.024 1.4)

  • #DAE0CF

    #DAE0CF

    oklch(89.7% 0.024 122.8)

  • #D0E0EC

    #D0E0EC

    oklch(89.8% 0.024 240.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECD7DC

    #ECD7DC

    oklch(89.8% 0.024 1.4)

  • #E3DDCC

    #E3DDCC

    oklch(89.8% 0.024 90.8)

  • #CDE3DE

    #CDE3DE

    oklch(89.8% 0.024 180.6)

  • #D7DDEE

    #D7DDEE

    oklch(89.8% 0.024 270.3)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #ECD7DC, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #ECD7DC 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.