#EC798E

Closest named color: Carnation (#FD798F). oklch(71.2% 0.143 9.8), rgb(236, 121, 142).

Aa

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

About this color

#EC798E is a medium-light, vivid red. In OKLCH its lightness is 71%, its chroma 0.143 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Carnation (#FD798F), ΔE 0.030 away. Black text reads best on it, at 7.69:1.

Hue familyReds
Lightnessmedium-light (71%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameCarnation (#FD798F)
Black text7.69:1
White text2.73:1

Values

HEX#EC798E
RGBrgb(236, 121, 142)
HSLhsl(349, 75%, 70%)
OKLCHoklch(71.2% 0.143 9.8)

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 #EC798E 2.73:1 Fails Lc -57.6 Large or bold text, headings
Black text on #EC798E 7.69:1 AAA Lc 51.6 Large or bold text, headings
#EC798E text on white 2.73:1 Fails Lc 52.4 Large or bold text, headings
#EC798E text on black 7.69:1 AAA Lc -49.5 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E6

    oklch(93.5% 0.026 8.6)

  3. Step 200

    200

    #F8CCD2

    oklch(88.5% 0.05 8.9)

  4. Step 300

    300

    #F4A9B4

    oklch(81% 0.089 9.6)

  5. Step 400

    400 (this color)

    #EC798E

    oklch(71.2% 0.143 9.8)

  6. Step 500

    500

    #E04E70

    oklch(63.1% 0.182 10)

  7. Step 600

    600

    #CB2859

    oklch(55.6% 0.198 9.7)

  8. Step 700

    700

    #AF1649

    oklch(49.1% 0.184 9.6)

  9. Step 800

    800

    #8E183C

    oklch(42.6% 0.152 9.6)

  10. Step 900

    900

    #721D33

    oklch(37.6% 0.119 9.7)

  11. Step 950

    950

    #43131E

    oklch(26.9% 0.075 9.7)

Export this scale for Tailwind in the Tailwind colors tool

#EC798E 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)#8F8F8E0.156
Deuteranopia (no green cones)#ACA58C0.144
Tritanopia (no blue cones)#FE6D810.037
Achromatopsia (no color)#9C9C9C0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC798E

    #EC798E

    oklch(71.2% 0.143 9.8)

  • #00BAB3

    #00BAB3

    oklch(71.2% 0.123 190)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC798E

    #EC798E

    oklch(71.2% 0.143 9.8)

  • #DC7CBE

    #DC7CBE

    oklch(71.2% 0.143 340)

  • #EC805A

    #EC805A

    oklch(71.2% 0.143 39.9)

Open the analogous palette in the generator

Split complementary

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

  • #EC798E

    #EC798E

    oklch(71.2% 0.143 9.8)

  • #39BD83

    #39BD83

    oklch(71.3% 0.142 159.9)

  • #00B4DA

    #00B4DA

    oklch(71.2% 0.13 220.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC798E

    #EC798E

    oklch(71.2% 0.143 9.8)

  • #84B34C

    #84B34C

    oklch(71.1% 0.143 129.9)

  • #55A7F7

    #55A7F7

    oklch(71.2% 0.142 250)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC798E

    #EC798E

    oklch(71.2% 0.143 9.8)

  • #B8A319

    #B8A319

    oklch(71.2% 0.142 99.6)

  • #00BAB3

    #00BAB3

    oklch(71.2% 0.123 190)

  • #9196F9

    #9196F9

    oklch(71.1% 0.143 279.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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