#EC98B7

Closest named color: Pig Pink (#E78EA5). oklch(77.3% 0.107 356.2), rgb(236, 152, 183).

Aa

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

About this color

#EC98B7 is a medium-light, moderately saturated pink. In OKLCH its lightness is 77%, its chroma 0.107 and its hue 356°. Its hue sits on the warm side of the wheel. The nearest named color is Pig Pink (#E78EA5), ΔE 0.031 away. Black text reads best on it, at 9.74:1.

Hue familyPinks
Lightnessmedium-light (77%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest namePig Pink (#E78EA5)
Black text9.74:1
White text2.15:1

Values

HEX#EC98B7
RGBrgb(236, 152, 183)
HSLhsl(338, 69%, 76%)
OKLCHoklch(77.3% 0.107 356.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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #EC98B7 2.15:1 Fails Lc -46.9 Large or bold text, headings
Black text on #EC98B7 9.74:1 AAA Lc 61.8 Content text, not long reading
#EC98B7 text on white 2.15:1 Fails Lc 42.2 Non-text elements, placeholder text
#EC98B7 text on black 9.74:1 AAA Lc -60.0 Content text, not long reading

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

  1. Step 50

    50

    #FEF2F6

    oklch(97.2% 0.014 355)

  2. Step 100

    100

    #FCE2EA

    oklch(93.6% 0.03 357.1)

  3. Step 200

    200

    #FBC9DA

    oklch(88.4% 0.061 356.1)

  4. Step 300

    300 (this color)

    #EC98B7

    oklch(77.3% 0.107 356.2)

  5. Step 400

    400

    #F06CA4

    oklch(70.6% 0.172 355.8)

  6. Step 500

    500

    #E7398D

    oklch(63.1% 0.219 356.3)

  7. Step 600

    600

    #CF0077

    oklch(55.7% 0.228 356.3)

  8. Step 700

    700

    #AF0064

    oklch(49.1% 0.201 356.2)

  9. Step 800

    800

    #910052

    oklch(42.8% 0.175 356.1)

  10. Step 900

    900

    #760E44

    oklch(37.7% 0.143 355.9)

  11. Step 950

    950

    #460C28

    oklch(27% 0.091 355.8)

Export this scale for Tailwind in the Tailwind colors tool

#EC98B7 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)#A2A8B80.116
Deuteranopia (no green cones)#B6B6B50.108
Tritanopia (no blue cones)#F994A30.033
Achromatopsia (no color)#B1B1B10.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #EC98B7

    #EC98B7

    oklch(77.3% 0.107 356.2)

  • #5FCCB3

    #5FCCB3

    oklch(77.4% 0.107 176.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EC98B7

    #EC98B7

    oklch(77.3% 0.107 356.2)

  • #D99DDA

    #D99DDA

    oklch(77.3% 0.107 326)

  • #F29A91

    #F29A91

    oklch(77.3% 0.107 26.2)

Open the analogous palette in the generator

Split complementary

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

  • #EC98B7

    #EC98B7

    oklch(77.3% 0.107 356.2)

  • #87C88C

    #87C88C

    oklch(77.3% 0.108 146.3)

  • #51C8D7

    #51C8D7

    oklch(77.2% 0.107 206.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EC98B7

    #EC98B7

    oklch(77.3% 0.107 356.2)

  • #B1BE6C

    #B1BE6C

    oklch(77.3% 0.107 116.4)

  • #6CC0F0

    #6CC0F0

    oklch(77.3% 0.107 235.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EC98B7

    #EC98B7

    oklch(77.3% 0.107 356.2)

  • #D3B060

    #D3B060

    oklch(77.2% 0.107 86.2)

  • #5FCCB3

    #5FCCB3

    oklch(77.4% 0.107 176.1)

  • #95B3FA

    #95B3FA

    oklch(77.2% 0.108 266.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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