#D42F5F

Closest named color: Lipstick (#D5174E). oklch(57.8% 0.2 9.7), rgb(212, 47, 95).

Aa

White text reads best on this color (4.80:1).

About this color

#D42F5F is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.200 and its hue 10°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick (#D5174E), ΔE 0.026 away. White text reads best on it, at 4.80:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.200)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text4.37:1
White text4.80:1

Values

HEX#D42F5F
RGBrgb(212, 47, 95)
HSLhsl(343, 66%, 51%)
OKLCHoklch(57.8% 0.2 9.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 #D42F5F 4.80:1 AA Lc -77.3 Fine for body text
Black text on #D42F5F 4.37:1 AA large text Lc 32.3 Non-text elements, placeholder text
#D42F5F text on white 4.80:1 AA Lc 71.8 Content text, not long reading
#D42F5F text on black 4.37:1 AA large text Lc -29.9 Dividers and decoration only

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 600.

  1. Step 50

    50

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FBE3E6

    oklch(93.6% 0.027 9)

  3. Step 200

    200

    #F8CCD2

    oklch(88.5% 0.05 8.9)

  4. Step 300

    300

    #F4A9B4

    oklch(81% 0.089 9.6)

  5. Step 400

    400

    #EB778C

    oklch(70.7% 0.144 10)

  6. Step 500

    500

    #E14D70

    oklch(63.2% 0.184 9.9)

  7. Step 600

    600 (this color)

    #D42F5F

    oklch(57.8% 0.2 9.7)

  8. Step 700

    700

    #B01349

    oklch(49.1% 0.187 9.5)

  9. Step 800

    800

    #8F173C

    oklch(42.8% 0.154 9.7)

  10. Step 900

    900

    #731C33

    oklch(37.7% 0.121 9.7)

  11. Step 950

    950

    #44131E

    oklch(27.1% 0.076 10.1)

Export this scale for Tailwind in the Tailwind colors tool

#D42F5F 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)#5C5D600.225
Deuteranopia (no green cones)#867E5B0.205
Tritanopia (no blue cones)#E800440.049
Achromatopsia (no color)#7272720.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42F5F

    #D42F5F

    oklch(57.8% 0.2 9.7)

  • #008C86

    #008C86

    oklch(57.7% 0.1 189.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42F5F

    #D42F5F

    oklch(57.8% 0.2 9.7)

  • #C13A9F

    #C13A9F

    oklch(57.9% 0.201 339.7)

  • #CE4600

    #CE4600

    oklch(57.9% 0.183 39.7)

Open the analogous palette in the generator

Split complementary

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

  • #D42F5F

    #D42F5F

    oklch(57.8% 0.2 9.7)

  • #00915D

    #00915D

    oklch(57.9% 0.132 159.3)

  • #0088A4

    #0088A4

    oklch(57.9% 0.105 219.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42F5F

    #D42F5F

    oklch(57.8% 0.2 9.7)

  • #5B8A00

    #5B8A00

    oklch(57.7% 0.154 129.5)

  • #007DD4

    #007DD4

    oklch(57.9% 0.161 249.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42F5F

    #D42F5F

    oklch(57.8% 0.2 9.7)

  • #8B7A00

    #8B7A00

    oklch(57.7% 0.12 99.5)

  • #008C86

    #008C86

    oklch(57.7% 0.1 189.5)

  • #6762EC

    #6762EC

    oklch(57.8% 0.202 279.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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