#D5313D

Closest named color: Crimson (#DC143C). oklch(57.5% 0.199 22.7), rgb(213, 49, 61).

Aa

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

About this color

#D5313D is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.199 and its hue 23°. Its hue sits on the warm side of the wheel. The nearest named color is Crimson (#DC143C), ΔE 0.025 away. White text reads best on it, at 4.84:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.199)
Temperaturewarm
Nearest nameCrimson (#DC143C)
Black text4.33:1
White text4.84:1

Values

HEX#D5313D
RGBrgb(213, 49, 61)
HSLhsl(356, 66%, 51%)
OKLCHoklch(57.5% 0.199 22.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 #D5313D 4.84:1 AA Lc -77.5 Fine for body text
Black text on #D5313D 4.33:1 AA large text Lc 32.0 Non-text elements, placeholder text
#D5313D text on white 4.84:1 AA Lc 72.0 Content text, not long reading
#D5313D text on black 4.33:1 AA large text Lc -29.6 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

    #FEF2F2

    oklch(97.1% 0.013 17.4)

  2. Step 100

    100

    #FBE4E2

    oklch(93.7% 0.025 23.6)

  3. Step 200

    200

    #F9CDCA

    oklch(88.5% 0.05 22.7)

  4. Step 300

    300

    #F5AAA6

    oklch(80.9% 0.089 22.6)

  5. Step 400

    400

    #ED7976

    oklch(70.8% 0.144 22.9)

  6. Step 500

    500

    #E34F53

    oklch(63.1% 0.184 22.6)

  7. Step 600

    600 (this color)

    #D5313D

    oklch(57.5% 0.199 22.7)

  8. Step 700

    700

    #B2182A

    oklch(49.1% 0.185 22.8)

  9. Step 800

    800

    #901924

    oklch(42.6% 0.153 22.6)

  10. Step 900

    900

    #741E22

    oklch(37.7% 0.119 22.6)

  11. Step 950

    950

    #441314

    oklch(26.9% 0.076 22.6)

Export this scale for Tailwind in the Tailwind colors tool

#D5313D 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)#635B3C0.217
Deuteranopia (no green cones)#8B7E370.199
Tritanopia (no blue cones)#EA00370.043
Achromatopsia (no color)#7272720.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5313D

    #D5313D

    oklch(57.5% 0.199 22.7)

  • #008992

    #008992

    oklch(57.4% 0.098 202.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5313D

    #D5313D

    oklch(57.5% 0.199 22.7)

  • #CA3383

    #CA3383

    oklch(57.6% 0.199 353)

  • #B95B00

    #B95B00

    oklch(57.5% 0.146 53)

Open the analogous palette in the generator

Split complementary

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

  • #D5313D

    #D5313D

    oklch(57.5% 0.199 22.7)

  • #008D72

    #008D72

    oklch(57.4% 0.11 172.9)

  • #0083B3

    #0083B3

    oklch(57.4% 0.119 233.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5313D

    #D5313D

    oklch(57.5% 0.199 22.7)

  • #009306

    #009306

    oklch(57.5% 0.194 142.7)

  • #346FEC

    #346FEC

    oklch(57.5% 0.199 262.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5313D

    #D5313D

    oklch(57.5% 0.199 22.7)

  • #7A8000

    #7A8000

    oklch(57.5% 0.128 113)

  • #008992

    #008992

    oklch(57.4% 0.098 202.9)

  • #8158E1

    #8158E1

    oklch(57.5% 0.199 292.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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