#E40CC7

Closest named color: Hot Magenta (#F504C9). oklch(63% 0.276 335.7), rgb(228, 12, 199).

Aa

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

About this color

#E40CC7 is a medium-light, vivid pink. In OKLCH its lightness is 63%, its chroma 0.276 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Hot Magenta (#F504C9), ΔE 0.033 away. Black text reads best on it, at 5.17:1.

Hue familyPinks
Lightnessmedium-light (63%)
Chromavivid (0.276)
Temperaturewarm
Nearest nameHot Magenta (#F504C9)
Black text5.17:1
White text4.05:1

Values

HEX#E40CC7
RGBrgb(228, 12, 199)
HSLhsl(308, 90%, 47%)
OKLCHoklch(63% 0.276 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 #E40CC7 4.05:1 AA large text Lc -70.9 Content text, not long reading
Black text on #E40CC7 5.17:1 AA Lc 38.7 Non-text elements, placeholder text
#E40CC7 text on white 4.05:1 AA large text Lc 65.4 Content text, not long reading
#E40CC7 text on black 5.17:1 AA Lc -36.3 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

    #FEF1FA

    oklch(97.1% 0.018 336.5)

  2. Step 100

    100

    #FCE1F4

    oklch(93.7% 0.039 336.5)

  3. Step 200

    200

    #FAC7EC

    oklch(88.5% 0.075 336.3)

  4. Step 300

    300

    #F79EE2

    oklch(80.9% 0.135 335.9)

  5. Step 400

    400

    #EE60D3

    oklch(70.7% 0.216 335.8)

  6. Step 500

    500 (this color)

    #E40CC7

    oklch(63% 0.276 335.7)

  7. Step 600

    600

    #C200A9

    oklch(55.7% 0.247 335.7)

  8. Step 700

    700

    #A4008E

    oklch(49.1% 0.217 335.9)

  9. Step 800

    800

    #870075

    oklch(42.6% 0.189 335.7)

  10. Step 900

    900

    #720062

    oklch(37.7% 0.167 336)

  11. Step 950

    950

    #45033B

    oklch(27% 0.114 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#E40CC7 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)#106BCB0.314
Deuteranopia (no green cones)#6F88C30.258
Tritanopia (no blue cones)#F02E760.137
Achromatopsia (no color)#7E7E7E0.278

Harmonies

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

Complementary

The opposite hue (180°).

  • #E40CC7

    #E40CC7

    oklch(63% 0.276 335.7)

  • #00A45F

    #00A45F

    oklch(63.2% 0.155 155.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E40CC7

    #E40CC7

    oklch(63% 0.276 335.7)

  • #B04CFF

    #B04CFF

    oklch(63.1% 0.253 305.8)

  • #F90073

    #F90073

    oklch(63.1% 0.253 5.6)

Open the analogous palette in the generator

Split complementary

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

  • #E40CC7

    #E40CC7

    oklch(63% 0.276 335.7)

  • #729900

    #729900

    oklch(63.1% 0.16 125.6)

  • #009E93

    #009E93

    oklch(62.9% 0.11 186.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E40CC7

    #E40CC7

    oklch(63% 0.276 335.7)

  • #A18800

    #A18800

    oklch(63.1% 0.13 96)

  • #0099B4

    #0099B4

    oklch(62.9% 0.112 216.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E40CC7

    #E40CC7

    oklch(63% 0.276 335.7)

  • #C27500

    #C27500

    oklch(63.2% 0.141 65.8)

  • #00A45F

    #00A45F

    oklch(63.2% 0.155 155.5)

  • #008FE3

    #008FE3

    oklch(63% 0.161 245.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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