#D42F4F

Closest named color: Lipstick (#D5174E). oklch(57.5% 0.199 15.9), rgb(212, 47, 79).

Aa

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

About this color

#D42F4F is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.199 and its hue 16°. Its hue sits on the warm side of the wheel. The nearest named color is Lipstick (#D5174E), ΔE 0.022 away. White text reads best on it, at 4.86:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.199)
Temperaturewarm
Nearest nameLipstick (#D5174E)
Black text4.31:1
White text4.86:1

Values

HEX#D42F4F
RGBrgb(212, 47, 79)
HSLhsl(348, 66%, 51%)
OKLCHoklch(57.5% 0.199 15.9)

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 #D42F4F 4.86:1 AA Lc -77.6 Fine for body text
Black text on #D42F4F 4.31:1 AA large text Lc 31.9 Non-text elements, placeholder text
#D42F4F text on white 4.86:1 AA Lc 72.2 Content text, not long reading
#D42F4F text on black 4.31:1 AA large text Lc -29.5 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

    #FDF2F3

    oklch(97% 0.012 11)

  2. Step 100

    100

    #FBE3E4

    oklch(93.6% 0.026 14.7)

  3. Step 200

    200

    #F8CDCE

    oklch(88.6% 0.049 16.5)

  4. Step 300

    300

    #F5A9AD

    oklch(80.9% 0.09 15.8)

  5. Step 400

    400

    #EC7882

    oklch(70.8% 0.143 16)

  6. Step 500

    500

    #E24E63

    oklch(63.1% 0.183 15.8)

  7. Step 600

    600 (this color)

    #D42F4F

    oklch(57.5% 0.199 15.9)

  8. Step 700

    700

    #B1153B

    oklch(49.1% 0.185 15.9)

  9. Step 800

    800

    #901831

    oklch(42.8% 0.153 16)

  10. Step 900

    900

    #741D2B

    oklch(37.8% 0.12 16.1)

  11. Step 950

    950

    #441319

    oklch(27% 0.075 16.6)

Export this scale for Tailwind in the Tailwind colors tool

#D42F4F 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)#5F5B4F0.221
Deuteranopia (no green cones)#897E4A0.203
Tritanopia (no blue cones)#E8003D0.043
Achromatopsia (no color)#7171710.201

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42F4F

    #D42F4F

    oklch(57.5% 0.199 15.9)

  • #008A8C

    #008A8C

    oklch(57.4% 0.098 196.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42F4F

    #D42F4F

    oklch(57.5% 0.199 15.9)

  • #C43691

    #C43691

    oklch(57.4% 0.199 345.9)

  • #C25200

    #C25200

    oklch(57.5% 0.161 46.2)

Open the analogous palette in the generator

Split complementary

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

  • #D42F4F

    #D42F4F

    oklch(57.5% 0.199 15.9)

  • #008E68

    #008E68

    oklch(57.3% 0.119 166)

  • #0085AA

    #0085AA

    oklch(57.4% 0.11 226.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42F4F

    #D42F4F

    oklch(57.5% 0.199 15.9)

  • #448E00

    #448E00

    oklch(57.6% 0.171 136)

  • #0075E8

    #0075E8

    oklch(57.5% 0.195 255.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42F4F

    #D42F4F

    oklch(57.5% 0.199 15.9)

  • #837C00

    #837C00

    oklch(57.4% 0.122 105.7)

  • #008A8C

    #008A8C

    oklch(57.4% 0.098 196.6)

  • #745DE6

    #745DE6

    oklch(57.5% 0.199 286)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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