#D5316F

Closest named color: Dark Pink (#CB416B). oklch(58.6% 0.203 3.6), rgb(213, 49, 111).

Aa

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

About this color

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

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

Values

HEX#D5316F
RGBrgb(213, 49, 111)
HSLhsl(337, 66%, 51%)
OKLCHoklch(58.6% 0.203 3.6)

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

    #EA7697

    oklch(70.8% 0.147 3.5)

  6. Step 500

    500

    #DF4C7D

    oklch(63.1% 0.186 3.7)

  7. Step 600

    600 (this color)

    #D5316F

    oklch(58.6% 0.203 3.6)

  8. Step 700

    700

    #AE1255

    oklch(49% 0.188 3.5)

  9. Step 800

    800

    #8E1646

    oklch(42.8% 0.156 3.5)

  10. Step 900

    900

    #721C3B

    oklch(37.7% 0.122 3.3)

  11. Step 950

    950

    #431222

    oklch(26.9% 0.077 3.8)

Export this scale for Tailwind in the Tailwind colors tool

#D5316F 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)#5A60700.228
Deuteranopia (no green cones)#85806B0.207
Tritanopia (no blue cones)#E8004C0.057
Achromatopsia (no color)#7474740.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5316F

    #D5316F

    oklch(58.6% 0.203 3.6)

  • #009082

    #009082

    oklch(58.7% 0.104 183)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5316F

    #D5316F

    oklch(58.6% 0.203 3.6)

  • #BE3FAD

    #BE3FAD

    oklch(58.6% 0.202 333.6)

  • #DA3913

    #DA3913

    oklch(58.7% 0.203 33.6)

Open the analogous palette in the generator

Split complementary

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

  • #D5316F

    #D5316F

    oklch(58.6% 0.203 3.6)

  • #009450

    #009450

    oklch(58.5% 0.148 153.7)

  • #008BA1

    #008BA1

    oklch(58.5% 0.103 214)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5316F

    #D5316F

    oklch(58.6% 0.203 3.6)

  • #6B8900

    #6B8900

    oklch(58.5% 0.145 123.6)

  • #0083CA

    #0083CA

    oklch(58.7% 0.143 243.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5316F

    #D5316F

    oklch(58.6% 0.203 3.6)

  • #947900

    #947900

    oklch(58.5% 0.12 93.2)

  • #009082

    #009082

    oklch(58.7% 0.104 183)

  • #5A69F1

    #5A69F1

    oklch(58.5% 0.202 273.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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