Color

Material red-400

Material red-400 (#ef5350) is a medium vivid red color. In OKLCH it has a lightness of 65%, a chroma of 0.193, and a hue of 25.1°.

#ef5350Material red-400
HEX
#ef5350
RGB
rgb(239 83 80)
HSL
hsl(1.1 83.2% 62.5%)
OKLCH
oklch(0.654 0.193 25.1)
Build a system from this color

Quick answer

  • Text on it: black, 6.02:1 (passes AA).
  • As text on white: large text only, 3.48:1. The closest version that passes is #d83d3e.
  • Dark mode: keep it for text and links (5.68:1 on the dark page).
  • Closest Tailwind color: red-500 (#fb2c36), the nearest, but visibly different.

About this color

Measured from the color itself, not written by hand.

Material red-400 (#ef5350) is a medium vivid red color. In OKLCH it has a lightness of 65%, a chroma of 0.193, and a hue of 25.1°.

White text on it has a contrast ratio of 3.48:1 and black text 6.02:1, so black text is the readable choice. As text, it reaches 3.48:1 on white and 6.02:1 on black.

Material Design (2014) · red-400

Text on this color

Which text colors pass on it, and at what sizes.

Good for, and what to avoid

Each use checked against WCAG 2.2, on white and on the dark page (#0d0908).

UseResultContrast
Button with white textLarge text only3.48:1, needs 4.5:1
Button with black textGood6.02:1, needs 4.5:1
Text or links on whiteLarge text only3.48:1, needs 4.5:1
Text or links on the dark pageGood5.68:1, needs 4.5:1
Border, icon, or focus ring on whiteGood3.48:1, needs 3:1
Border, icon, or focus ring on the dark pageGood5.68:1, needs 3:1

As a text color

The closest version of this color that passes AA for normal text.

In dark mode

From the dark theme ColorLint builds around this color, on a page of #0d0908.

  • Buttons: Material red-400 stays as it is for buttons, with dark (#0d0908) label text at 5.68:1. Hover is #ff6661 and pressed is #ff867e.
  • Text and links: it works as it is: 5.68:1 on the page.
  • Focus ring: #ef5350, 5.68:1 against the page (3:1 needed).

Shades from 50 to 950

An OKLCH scale built around this color by the same engine as the Scale Generator.

Harmonies

Hue offsets in OKLCH, keeping lightness and in-gamut chroma.

Color-blind simulation

How this color may look with four types of color vision deficiency.

  • Protanopia

    no red cones

    #7d744eSimulation
  • Deuteranopia

    no green cones

    #a4964bSimulation
  • Tritanopia

    no blue cones

    #ff2c54Simulation
  • Achromatopsia

    no color vision

    #898989Simulation

Similar named colors

The nearest colors from the Tailwind, Material, and CSS lists.

Matching colors in other lists

  • CSS color names: the nearest to #ef5350 is tomato (#ff6347), and it is visibly different, so this list has no close match.

Color-blind confusion

2 of the common status colors can look like #ef5350 with some types of color blindness.

  • With deuteranopia, it can look like green-600 (#00a63e), so add a label or an icon wherever these two colors mark different things.
  • With tritanopia, it can look like orange-500 (#ff6900), so add a label or an icon wherever these two colors mark different things.

In our palettes

1 palette in the library uses #ef5350 or a color close to it.

  • Spark: its primary color is similar (#f03e3e).

ColorLint checks color contrast only. Passing pairs do not mean a page is accessible. 4 text pairs checked; 0 could not be judged.

How we check colors