#D5316E

Closest named color: Dark Pink (#CB416B). oklch(58.5% 0.202 4), rgb(213, 49, 110).

Aa

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

About this color

#D5316E is a medium-dark, vivid red. In OKLCH its lightness is 59%, its chroma 0.202 and its hue 4°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Pink (#CB416B), ΔE 0.027 away. White text reads best on it, at 4.67:1.

Hue familyReds
Lightnessmedium-dark (59%)
Chromavivid (0.202)
Temperaturewarm
Nearest nameDark Pink (#CB416B)
Black text4.49:1
White text4.67:1

Values

HEX#D5316E
RGBrgb(213, 49, 110)
HSLhsl(338, 66%, 51%)
OKLCHoklch(58.5% 0.202 4)

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 #D5316E 4.67:1 AA Lc -76.5 Fine for body text
Black text on #D5316E 4.49:1 AA large text Lc 33.1 Non-text elements, placeholder text
#D5316E text on white 4.67:1 AA Lc 71.0 Content text, not long reading
#D5316E text on black 4.49:1 AA large text Lc -30.7 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

    #FAE3E8

    oklch(93.6% 0.026 2.8)

  3. Step 200

    200

    #F8CCD5

    oklch(88.6% 0.051 4.4)

  4. Step 300

    300

    #F3A8BA

    oklch(80.8% 0.091 3.6)

  5. Step 400

    400

    #EA7696

    oklch(70.7% 0.146 4)

  6. Step 500

    500

    #DF4C7C

    oklch(63.1% 0.186 4.1)

  7. Step 600

    600 (this color)

    #D5316E

    oklch(58.5% 0.202 4)

  8. Step 700

    700

    #AF1254

    oklch(49.2% 0.189 4.2)

  9. Step 800

    800

    #8E1645

    oklch(42.8% 0.156 4.1)

  10. Step 900

    900

    #721C3A

    oklch(37.7% 0.121 4)

  11. Step 950

    950

    #431222

    oklch(26.9% 0.077 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#D5316E 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)#5A606F0.228
Deuteranopia (no green cones)#85806A0.207
Tritanopia (no blue cones)#E8004C0.056
Achromatopsia (no color)#7474740.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5316E

    #D5316E

    oklch(58.5% 0.202 4)

  • #008F83

    #008F83

    oklch(58.4% 0.103 184.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5316E

    #D5316E

    oklch(58.5% 0.202 4)

  • #BE3FAC

    #BE3FAC

    oklch(58.6% 0.202 334)

  • #D93910

    #D93910

    oklch(58.5% 0.202 34)

Open the analogous palette in the generator

Split complementary

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

  • #D5316E

    #D5316E

    oklch(58.5% 0.202 4)

  • #009451

    #009451

    oklch(58.5% 0.147 154)

  • #008BA1

    #008BA1

    oklch(58.5% 0.103 214)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5316E

    #D5316E

    oklch(58.5% 0.202 4)

  • #6A8900

    #6A8900

    oklch(58.5% 0.145 124)

  • #0082CA

    #0082CA

    oklch(58.4% 0.144 244.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5316E

    #D5316E

    oklch(58.5% 0.202 4)

  • #937A00

    #937A00

    oklch(58.6% 0.12 94.6)

  • #008F83

    #008F83

    oklch(58.4% 0.103 184.5)

  • #5B69F1

    #5B69F1

    oklch(58.6% 0.202 273.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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