#E31BC4

Closest named color: Hot Magenta (#F504C9). oklch(63.1% 0.268 336.4), rgb(227, 27, 196).

Aa

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

About this color

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

Hue familyPinks
Lightnessmedium-light (63%)
Chromavivid (0.268)
Temperaturewarm
Nearest nameHot Magenta (#F504C9)
Black text5.22:1
White text4.02:1

Values

HEX#E31BC4
RGBrgb(227, 27, 196)
HSLhsl(309, 79%, 50%)
OKLCHoklch(63.1% 0.268 336.4)

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 #E31BC4 4.02:1 AA large text Lc -70.9 Content text, not long reading
Black text on #E31BC4 5.22:1 AA Lc 38.7 Non-text elements, placeholder text
#E31BC4 text on white 4.02:1 AA large text Lc 65.4 Content text, not long reading
#E31BC4 text on black 5.22:1 AA Lc -36.2 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

    #FBE1F3

    oklch(93.6% 0.037 336.9)

  3. Step 200

    200

    #F9C7EB

    oklch(88.4% 0.073 336.5)

  4. Step 300

    300

    #F69FE0

    oklch(80.9% 0.131 336.5)

  5. Step 400

    400

    #ED63D0

    oklch(70.7% 0.209 336.6)

  6. Step 500

    500 (this color)

    #E31BC4

    oklch(63.1% 0.268 336.4)

  7. Step 600

    600

    #C200A7

    oklch(55.6% 0.245 336.3)

  8. Step 700

    700

    #A4008D

    oklch(49.1% 0.217 336.3)

  9. Step 800

    800

    #880074

    oklch(42.7% 0.189 336.6)

  10. Step 900

    900

    #720061

    oklch(37.7% 0.166 336.5)

  11. Step 950

    950

    #44053A

    oklch(26.9% 0.111 336)

Export this scale for Tailwind in the Tailwind colors tool

#E31BC4 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)#216CC80.303
Deuteranopia (no green cones)#7189C00.252
Tritanopia (no blue cones)#EF32750.133
Achromatopsia (no color)#7F7F7F0.270

Harmonies

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

Complementary

The opposite hue (180°).

  • #E31BC4

    #E31BC4

    oklch(63.1% 0.268 336.4)

  • #00A462

    #00A462

    oklch(63.2% 0.152 156.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E31BC4

    #E31BC4

    oklch(63.1% 0.268 336.4)

  • #B14BFF

    #B14BFF

    oklch(63.1% 0.254 306.2)

  • #F90071

    #F90071

    oklch(63.1% 0.253 6.2)

Open the analogous palette in the generator

Split complementary

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

  • #E31BC4

    #E31BC4

    oklch(63.1% 0.268 336.4)

  • #709A00

    #709A00

    oklch(63.2% 0.162 126.5)

  • #009F94

    #009F94

    oklch(63.2% 0.111 186.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E31BC4

    #E31BC4

    oklch(63.1% 0.268 336.4)

  • #A18800

    #A18800

    oklch(63.1% 0.13 96)

  • #009AB5

    #009AB5

    oklch(63.2% 0.112 216)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E31BC4

    #E31BC4

    oklch(63.1% 0.268 336.4)

  • #C17500

    #C17500

    oklch(63% 0.14 66.2)

  • #00A462

    #00A462

    oklch(63.2% 0.152 156.5)

  • #008FE5

    #008FE5

    oklch(63.1% 0.163 246.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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