#D5175C

Closest named color: Cerise (#DE0C62). oklch(56.6% 0.217 8.6), rgb(213, 23, 92).

Aa

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

About this color

#D5175C is a medium-dark, vivid red. In OKLCH its lightness is 57%, its chroma 0.217 and its hue 9°. Its hue sits on the warm side of the wheel. The nearest named color is Cerise (#DE0C62), ΔE 0.019 away. White text reads best on it, at 5.11:1.

Hue familyReds
Lightnessmedium-dark (57%)
Chromavivid (0.217)
Temperaturewarm
Nearest nameCerise (#DE0C62)
Black text4.10:1
White text5.11:1

Values

HEX#D5175C
RGBrgb(213, 23, 92)
HSLhsl(338, 81%, 46%)
OKLCHoklch(56.6% 0.217 8.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 #D5175C 5.11:1 AA Lc -78.6 Fine for body text
Black text on #D5175C 4.10:1 AA large text Lc 30.9 Non-text elements, placeholder text
#D5175C text on white 5.11:1 AA Lc 73.1 Content text, not long reading
#D5175C text on black 4.10:1 AA large text Lc -28.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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FCE3E6

    oklch(93.7% 0.028 9.4)

  3. Step 200

    200

    #FACBD2

    oklch(88.5% 0.054 8.2)

  4. Step 300

    300

    #F8A6B4

    oklch(80.9% 0.098 8.3)

  5. Step 400

    400

    #F0728D

    oklch(70.7% 0.157 8.5)

  6. Step 500

    500

    #E64471

    oklch(63.1% 0.199 8.5)

  7. Step 600

    600 (this color)

    #D5175C

    oklch(56.6% 0.217 8.6)

  8. Step 700

    700

    #B3004A

    oklch(49.1% 0.197 8.5)

  9. Step 800

    800

    #93073C

    oklch(42.7% 0.167 8.8)

  10. Step 900

    900

    #761633

    oklch(37.7% 0.13 8.8)

  11. Step 950

    950

    #46101E

    oklch(27.1% 0.083 9.1)

Export this scale for Tailwind in the Tailwind colors tool

#D5175C 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)#54565D0.245
Deuteranopia (no green cones)#837B570.222
Tritanopia (no blue cones)#E900390.059
Achromatopsia (no color)#6E6E6E0.219

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5175C

    #D5175C

    oklch(56.6% 0.217 8.6)

  • #008881

    #008881

    oklch(56.5% 0.098 188.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5175C

    #D5175C

    oklch(56.6% 0.217 8.6)

  • #C02BA0

    #C02BA0

    oklch(56.6% 0.217 338.5)

  • #CA4100

    #CA4100

    oklch(56.7% 0.183 38.7)

Open the analogous palette in the generator

Split complementary

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

  • #D5175C

    #D5175C

    oklch(56.6% 0.217 8.6)

  • #008D58

    #008D58

    oklch(56.7% 0.132 158.3)

  • #00849E

    #00849E

    oklch(56.6% 0.102 218.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5175C

    #D5175C

    oklch(56.6% 0.217 8.6)

  • #5B8600

    #5B8600

    oklch(56.7% 0.15 128.6)

  • #007ACC

    #007ACC

    oklch(56.7% 0.155 248.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5175C

    #D5175C

    oklch(56.6% 0.217 8.6)

  • #887600

    #887600

    oklch(56.5% 0.117 98.6)

  • #008881

    #008881

    oklch(56.5% 0.098 188.4)

  • #615BF1

    #615BF1

    oklch(56.6% 0.218 278.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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