#FF40DE

Closest named color: Bright Magenta (#FF08E8). oklch(70.7% 0.271 336.2), rgb(255, 64, 222).

Aa

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

About this color

#FF40DE is a medium-light, vivid pink. In OKLCH its lightness is 71%, its chroma 0.271 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Bright Magenta (#FF08E8), ΔE 0.042 away. Black text reads best on it, at 7.04:1.

Hue familyPinks
Lightnessmedium-light (71%)
Chromavivid (0.271)
Temperaturewarm
Nearest nameBright Magenta (#FF08E8)
Black text7.04:1
White text2.98:1

Values

HEX#FF40DE
RGBrgb(255, 64, 222)
HSLhsl(310, 100%, 63%)
OKLCHoklch(70.7% 0.271 336.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 #FF40DE 2.98:1 Fails Lc -60.3 Content text, not long reading
Black text on #FF40DE 7.04:1 AAA Lc 49.1 Large or bold text, headings
#FF40DE text on white 2.98:1 Fails Lc 55.0 Large or bold text, headings
#FF40DE text on black 7.04:1 AAA Lc -46.8 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

    #FFF1FB

    oklch(97.2% 0.02 335.7)

  2. Step 100

    100

    #FFDFF6

    oklch(93.7% 0.046 336)

  3. Step 200

    200

    #FFC4EF

    oklch(88.6% 0.087 336.3)

  4. Step 300

    300

    #FF97E7

    oklch(80.9% 0.157 336)

  5. Step 400

    400 (this color)

    #FF40DE

    oklch(70.7% 0.271 336.2)

  6. Step 500

    500

    #E600C7

    oklch(63.2% 0.279 336.1)

  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

    #720062

    oklch(37.7% 0.167 336)

  11. Step 950

    950

    #46003C

    oklch(27% 0.12 335.6)

Export this scale for Tailwind in the Tailwind colors tool

#FF40DE 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)#4383E20.298
Deuteranopia (no green cones)#88A0DA0.253
Tritanopia (no blue cones)#FF4E8C0.128
Achromatopsia (no color)#9595950.273

Harmonies

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

Complementary

The opposite hue (180°).

  • #FF40DE

    #FF40DE

    oklch(70.7% 0.271 336.2)

  • #00BF72

    #00BF72

    oklch(70.8% 0.171 156.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FF40DE

    #FF40DE

    oklch(70.7% 0.271 336.2)

  • #C07AFF

    #C07AFF

    oklch(70.8% 0.196 306.4)

  • #FF618D

    #FF618D

    oklch(70.7% 0.194 6.4)

Open the analogous palette in the generator

Split complementary

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

  • #FF40DE

    #FF40DE

    oklch(70.7% 0.271 336.2)

  • #84B300

    #84B300

    oklch(70.7% 0.18 126.2)

  • #00B9AC

    #00B9AC

    oklch(70.7% 0.124 186)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FF40DE

    #FF40DE

    oklch(70.7% 0.271 336.2)

  • #BB9F00

    #BB9F00

    oklch(70.6% 0.145 96.4)

  • #00B3D2

    #00B3D2

    oklch(70.6% 0.125 216)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FF40DE

    #FF40DE

    oklch(70.7% 0.271 336.2)

  • #E18900

    #E18900

    oklch(70.7% 0.157 66)

  • #00BF72

    #00BF72

    oklch(70.8% 0.171 156.2)

  • #32A7FF

    #32A7FF

    oklch(70.6% 0.163 246.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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