#E338A2

Closest named color: Shocking Pink (#FE02A2). oklch(63.2% 0.227 347.7), rgb(227, 56, 162).

Aa

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

About this color

#E338A2 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.227 and its hue 348°. Its hue sits on the warm side of the wheel. The nearest named color is Shocking Pink (#FE02A2), ΔE 0.053 away. Black text reads best on it, at 5.35:1.

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.227)
Temperaturewarm
Nearest nameShocking Pink (#FE02A2)
Black text5.35:1
White text3.92:1

Values

HEX#E338A2
RGBrgb(227, 56, 162)
HSLhsl(323, 75%, 55%)
OKLCHoklch(63.2% 0.227 347.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 #E338A2 3.92:1 AA large text Lc -70.7 Content text, not long reading
Black text on #E338A2 5.35:1 AA Lc 38.8 Non-text elements, placeholder text
#E338A2 text on white 3.92:1 AA large text Lc 65.2 Content text, not long reading
#E338A2 text on black 5.35:1 AA Lc -36.4 Non-text elements, placeholder 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 500.

  1. Step 50

    50

    #FEF2F7

    oklch(97.2% 0.014 350.1)

  2. Step 100

    100

    #FBE2EE

    oklch(93.6% 0.031 347.1)

  3. Step 200

    200

    #F9C9E0

    oklch(88.4% 0.062 348)

  4. Step 300

    300

    #F6A3CE

    oklch(80.9% 0.111 347.5)

  5. Step 400

    400

    #ED6CB4

    oklch(70.7% 0.177 348)

  6. Step 500

    500 (this color)

    #E338A2

    oklch(63.2% 0.227 347.7)

  7. Step 600

    600

    #CA008B

    oklch(55.6% 0.234 347.8)

  8. Step 700

    700

    #AB0075

    oklch(49.1% 0.206 347.8)

  9. Step 800

    800

    #8D0060

    oklch(42.6% 0.179 347.7)

  10. Step 900

    900

    #740D4F

    oklch(37.7% 0.147 348)

  11. Step 950

    950

    #440C2F

    oklch(26.9% 0.094 346.9)

Export this scale for Tailwind in the Tailwind colors tool

#E338A2 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)#526EA50.254
Deuteranopia (no green cones)#858B9E0.222
Tritanopia (no blue cones)#F330690.090
Achromatopsia (no color)#8080800.229

Harmonies

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

Complementary

The opposite hue (180°).

  • #E338A2

    #E338A2

    oklch(63.2% 0.227 347.7)

  • #00A27A

    #00A27A

    oklch(63.2% 0.129 167.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E338A2

    #E338A2

    oklch(63.2% 0.227 347.7)

  • #BF4EE0

    #BF4EE0

    oklch(63.1% 0.226 317.7)

  • #F43054

    #F43054

    oklch(63.2% 0.227 17.6)

Open the analogous palette in the generator

Split complementary

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

  • #E338A2

    #E338A2

    oklch(63.2% 0.227 347.7)

  • #44A300

    #44A300

    oklch(63.3% 0.194 137.7)

  • #009DA1

    #009DA1

    oklch(63.2% 0.107 198)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E338A2

    #E338A2

    oklch(63.2% 0.227 347.7)

  • #938F00

    #938F00

    oklch(63.3% 0.136 107.7)

  • #0097C3

    #0097C3

    oklch(63.1% 0.123 227.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E338A2

    #E338A2

    oklch(63.2% 0.227 347.7)

  • #B57E00

    #B57E00

    oklch(63.3% 0.132 78)

  • #00A27A

    #00A27A

    oklch(63.2% 0.129 167.5)

  • #2B85FF

    #2B85FF

    oklch(63.1% 0.2 257.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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