#EC798A

Closest named color: Light Coral (#F08080). oklch(71.1% 0.142 12.1), rgb(236, 121, 138).

Aa

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

About this color

#EC798A is a medium-light, vivid red. In OKLCH its lightness is 71%, its chroma 0.142 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Light Coral (#F08080), ΔE 0.026 away. Black text reads best on it, at 7.66:1.

Hue familyReds
Lightnessmedium-light (71%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameLight Coral (#F08080)
Black text7.66:1
White text2.73:1

Values

HEX#EC798A
RGBrgb(236, 121, 138)
HSLhsl(351, 75%, 70%)
OKLCHoklch(71.1% 0.142 12.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #EC798A 2.73:1 Fails Lc -57.8 Large or bold text, headings
Black text on #EC798A 7.66:1 AAA Lc 51.5 Large or bold text, headings
#EC798A text on white 2.73:1 Fails Lc 52.5 Large or bold text, headings
#EC798A text on black 7.66:1 AAA Lc -49.3 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FBE3E5

    oklch(93.6% 0.026 11.9)

  3. Step 200

    200

    #F8CCD0

    oklch(88.4% 0.05 12)

  4. Step 300

    300

    #F4A9B1

    oklch(80.9% 0.089 12.2)

  5. Step 400

    400 (this color)

    #EC798A

    oklch(71.1% 0.142 12.1)

  6. Step 500

    500

    #E04E6C

    oklch(63% 0.182 11.8)

  7. Step 600

    600

    #CC2854

    oklch(55.7% 0.198 11.9)

  8. Step 700

    700

    #B01744

    oklch(49.2% 0.184 12.1)

  9. Step 800

    800

    #8F1938

    oklch(42.8% 0.152 12.3)

  10. Step 900

    900

    #731D30

    oklch(37.7% 0.119 12.3)

  11. Step 950

    950

    #44131C

    oklch(27.1% 0.076 12.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC798A 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)#908E8A0.154
Deuteranopia (no green cones)#ACA5880.144
Tritanopia (no blue cones)#FE6C7F0.037
Achromatopsia (no color)#9C9C9C0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC798A

    #EC798A

    oklch(71.1% 0.142 12.1)

  • #00B9B5

    #00B9B5

    oklch(71% 0.122 192)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC798A

    #EC798A

    oklch(71.1% 0.142 12.1)

  • #DD7CBB

    #DD7CBB

    oklch(71.2% 0.142 341.8)

  • #EA8156

    #EA8156

    oklch(71.1% 0.142 42.4)

Open the analogous palette in the generator

Split complementary

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

  • #EC798A

    #EC798A

    oklch(71.1% 0.142 12.1)

  • #30BD86

    #30BD86

    oklch(71.2% 0.143 161.9)

  • #00B3DC

    #00B3DC

    oklch(71.1% 0.131 222)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC798A

    #EC798A

    oklch(71.1% 0.142 12.1)

  • #80B450

    #80B450

    oklch(71.1% 0.143 131.9)

  • #5AA6F7

    #5AA6F7

    oklch(71.2% 0.141 251.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC798A

    #EC798A

    oklch(71.1% 0.142 12.1)

  • #B4A41C

    #B4A41C

    oklch(71.1% 0.142 102)

  • #00B9B5

    #00B9B5

    oklch(71% 0.122 192)

  • #9595F8

    #9595F8

    oklch(71.2% 0.143 282.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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