#D42D6B

Closest named color: Cerise (#DE0C62). oklch(58% 0.204 4.5), rgb(212, 45, 107).

Aa

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

About this color

#D42D6B is a medium-dark, vivid red. In OKLCH its lightness is 58%, its chroma 0.204 and its hue 5°. Its hue sits on the warm side of the wheel. The nearest named color is Cerise (#DE0C62), ΔE 0.026 away. White text reads best on it, at 4.78:1.

Hue familyReds
Lightnessmedium-dark (58%)
Chromavivid (0.204)
Temperaturewarm
Nearest nameCerise (#DE0C62)
Black text4.38:1
White text4.78:1

Values

HEX#D42D6B
RGBrgb(212, 45, 107)
HSLhsl(338, 66%, 50%)
OKLCHoklch(58% 0.204 4.5)

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 #D42D6B 4.78:1 AA Lc -77.1 Fine for body text
Black text on #D42D6B 4.38:1 AA large text Lc 32.4 Non-text elements, placeholder text
#D42D6B text on white 4.78:1 AA Lc 71.7 Content text, not long reading
#D42D6B text on black 4.38:1 AA large text Lc -30.0 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 600.

  1. Step 50

    50

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F8CCD5

    oklch(88.6% 0.051 4.4)

  4. Step 300

    300

    #F4A8B9

    oklch(80.9% 0.092 4.6)

  5. Step 400

    400

    #EA7695

    oklch(70.7% 0.146 4.6)

  6. Step 500

    500

    #E04B7B

    oklch(63.1% 0.188 4.6)

  7. Step 600

    600 (this color)

    #D42D6B

    oklch(58% 0.204 4.5)

  8. Step 700

    700

    #AF0F53

    oklch(49% 0.19 4.5)

  9. Step 800

    800

    #8E1444

    oklch(42.6% 0.157 4.4)

  10. Step 900

    900

    #731B39

    oklch(37.8% 0.123 4.9)

  11. Step 950

    950

    #441222

    oklch(27.1% 0.078 4.3)

Export this scale for Tailwind in the Tailwind colors tool

#D42D6B 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)#585D6C0.231
Deuteranopia (no green cones)#847E670.208
Tritanopia (no blue cones)#E700490.056
Achromatopsia (no color)#7272720.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #D42D6B

    #D42D6B

    oklch(58% 0.204 4.5)

  • #008E82

    #008E82

    oklch(58.1% 0.103 184.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D42D6B

    #D42D6B

    oklch(58% 0.204 4.5)

  • #BD3BAA

    #BD3BAA

    oklch(57.9% 0.205 334.3)

  • #D83603

    #D83603

    oklch(58% 0.204 34.5)

Open the analogous palette in the generator

Split complementary

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

  • #D42D6B

    #D42D6B

    oklch(58% 0.204 4.5)

  • #009251

    #009251

    oklch(57.9% 0.145 154.4)

  • #0089A0

    #0089A0

    oklch(58% 0.102 215)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D42D6B

    #D42D6B

    oklch(58% 0.204 4.5)

  • #688800

    #688800

    oklch(58.1% 0.145 124.5)

  • #0080C9

    #0080C9

    oklch(57.9% 0.145 244.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D42D6B

    #D42D6B

    oklch(58% 0.204 4.5)

  • #917800

    #917800

    oklch(57.9% 0.119 94.3)

  • #008E82

    #008E82

    oklch(58.1% 0.103 184.5)

  • #5B66F0

    #5B66F0

    oklch(57.9% 0.205 274.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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