#E172CA

Closest named color: Orchid (#DA70D6). oklch(70.8% 0.173 335.7), rgb(225, 114, 202).

Aa

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

About this color

#E172CA is a medium-light, vivid pink. In OKLCH its lightness is 71%, its chroma 0.173 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.024 away. Black text reads best on it, at 7.46:1.

Hue familyPinks
Lightnessmedium-light (71%)
Chromavivid (0.173)
Temperaturewarm
Nearest nameOrchid (#DA70D6)
Black text7.46:1
White text2.81:1

Values

HEX#E172CA
RGBrgb(225, 114, 202)
HSLhsl(312, 65%, 66%)
OKLCHoklch(70.8% 0.173 335.7)

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 #E172CA 2.81:1 Fails Lc -58.9 Large or bold text, headings
Black text on #E172CA 7.46:1 AAA Lc 50.4 Large or bold text, headings
#E172CA text on white 2.81:1 Fails Lc 53.7 Large or bold text, headings
#E172CA text on black 7.46:1 AAA Lc -48.2 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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F8E2F2

    oklch(93.5% 0.032 335.4)

  3. Step 200

    200

    #F3CBE9

    oklch(88.5% 0.06 335)

  4. Step 300

    300

    #EDA6DC

    oklch(81% 0.108 335.5)

  5. Step 400

    400 (this color)

    #E172CA

    oklch(70.8% 0.173 335.7)

  6. Step 500

    500

    #D544BC

    oklch(63.2% 0.221 335.6)

  7. Step 600

    600

    #C00FA7

    oklch(55.6% 0.24 335.8)

  8. Step 700

    700

    #A4008F

    oklch(49.2% 0.218 335.6)

  9. Step 800

    800

    #860775

    oklch(42.7% 0.185 335.4)

  10. Step 900

    900

    #6C165E

    oklch(37.7% 0.144 335.7)

  11. Step 950

    950

    #401037

    oklch(27.1% 0.091 336.1)

Export this scale for Tailwind in the Tailwind colors tool

#E172CA 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)#7390CD0.177
Deuteranopia (no green cones)#92A0C70.159
Tritanopia (no blue cones)#EB77950.085
Achromatopsia (no color)#9A9A9A0.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #E172CA

    #E172CA

    oklch(70.8% 0.173 335.7)

  • #00BF71

    #00BF71

    oklch(70.7% 0.172 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E172CA

    #E172CA

    oklch(70.8% 0.173 335.7)

  • #BB81F5

    #BB81F5

    oklch(70.8% 0.172 305.5)

  • #F66C91

    #F66C91

    oklch(70.9% 0.172 5.8)

Open the analogous palette in the generator

Split complementary

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

  • #E172CA

    #E172CA

    oklch(70.8% 0.173 335.7)

  • #87B319

    #87B319

    oklch(70.9% 0.173 125.7)

  • #00BAAC

    #00BAAC

    oklch(71% 0.125 185.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E172CA

    #E172CA

    oklch(70.8% 0.173 335.7)

  • #BD9F00

    #BD9F00

    oklch(70.8% 0.146 95.4)

  • #00B4D2

    #00B4D2

    oklch(70.9% 0.125 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E172CA

    #E172CA

    oklch(70.8% 0.173 335.7)

  • #E28900

    #E28900

    oklch(70.8% 0.158 65.7)

  • #00BF71

    #00BF71

    oklch(70.7% 0.172 155.9)

  • #31A8FF

    #31A8FF

    oklch(70.8% 0.163 245.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #E172CA.

Similar named colors

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

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