#FF0040

Closest named color: Neon Red (#FF073A). oklch(63.2% 0.254 20.8), rgb(255, 0, 64).

Aa

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

About this color

#FF0040 is a medium-light, vivid red. In OKLCH its lightness is 63%, its chroma 0.254 and its hue 21°. Its hue sits on the warm side of the wheel. The nearest named color is Neon Red (#FF073A), ΔE 0.007 away. Black text reads best on it, at 5.32:1.

Hue familyReds
Lightnessmedium-light (63%)
Chromavivid (0.254)
Temperaturewarm
Nearest nameNeon Red (#FF073A)
Black text5.32:1
White text3.94:1

Values

HEX#FF0040
RGBrgb(255, 0, 64)
HSLhsl(345, 100%, 50%)
OKLCHoklch(63.2% 0.254 20.8)

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 #FF0040 3.94:1 AA large text Lc -69.3 Content text, not long reading
Black text on #FF0040 5.32:1 AA Lc 40.3 Non-text elements, placeholder text
#FF0040 text on white 3.94:1 AA large text Lc 63.8 Content text, not long reading
#FF0040 text on black 5.32:1 AA Lc -37.9 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

    #FFF2F1

    oklch(97.1% 0.014 22.8)

  2. Step 100

    100

    #FFE2E1

    oklch(93.6% 0.032 20.1)

  3. Step 200

    200

    #FFCAC8

    oklch(88.5% 0.061 20.9)

  4. Step 300

    300

    #FFA4A2

    oklch(80.9% 0.108 21.1)

  5. Step 400

    400

    #FF676D

    oklch(70.7% 0.185 20.8)

  6. Step 500

    500 (this color)

    #FF0040

    oklch(63.2% 0.254 20.8)

  7. Step 600

    600

    #D70034

    oklch(55.6% 0.223 21)

  8. Step 700

    700

    #B6002B

    oklch(49.1% 0.197 20.8)

  9. Step 800

    800

    #970022

    oklch(42.8% 0.172 20.8)

  10. Step 900

    900

    #7F001B

    oklch(37.7% 0.152 20.8)

  11. Step 950

    950

    #4E020E

    oklch(27% 0.106 20.7)

Export this scale for Tailwind in the Tailwind colors tool

#FF0040 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)#69613F0.284
Deuteranopia (no green cones)#A191370.257
Tritanopia (no blue cones)#FF00270.022
Achromatopsia (no color)#8080800.256

Harmonies

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

Complementary

The opposite hue (180°).

  • #FF0040

    #FF0040

    oklch(63.2% 0.254 20.8)

  • #009DA4

    #009DA4

    oklch(63.3% 0.108 200.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FF0040

    #FF0040

    oklch(63.2% 0.254 20.8)

  • #EF189D

    #EF189D

    oklch(63.2% 0.254 350.7)

  • #D56500

    #D56500

    oklch(63.2% 0.165 50.7)

Open the analogous palette in the generator

Split complementary

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

  • #FF0040

    #FF0040

    oklch(63.2% 0.254 20.8)

  • #00A17F

    #00A17F

    oklch(63.1% 0.124 170.8)

  • #0096C8

    #0096C8

    oklch(63.1% 0.127 231)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FF0040

    #FF0040

    oklch(63.2% 0.254 20.8)

  • #28A600

    #28A600

    oklch(63.3% 0.207 140.8)

  • #3D83FF

    #3D83FF

    oklch(63.2% 0.198 260.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FF0040

    #FF0040

    oklch(63.2% 0.254 20.8)

  • #8E9100

    #8E9100

    oklch(63.3% 0.139 111.2)

  • #009DA4

    #009DA4

    oklch(63.3% 0.108 200.4)

  • #8F67FF

    #8F67FF

    oklch(63.2% 0.216 291.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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