#DC2797

Closest named color: Medium Violet Red (#C71585). oklch(60.5% 0.232 349), rgb(220, 39, 151).

Aa

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

About this color

#DC2797 is a medium-dark, vivid red. In OKLCH its lightness is 60%, its chroma 0.232 and its hue 349°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.052 away. Black text reads best on it, at 4.78:1.

Hue familyReds
Lightnessmedium-dark (60%)
Chromavivid (0.232)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text4.78:1
White text4.39:1

Values

HEX#DC2797
RGBrgb(220, 39, 151)
HSLhsl(323, 72%, 51%)
OKLCHoklch(60.5% 0.232 349)

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 #DC2797 4.39:1 AA large text Lc -74.2 Content text, not long reading
Black text on #DC2797 4.78:1 AA Lc 35.4 Non-text elements, placeholder text
#DC2797 text on white 4.39:1 AA large text Lc 68.7 Content text, not long reading
#DC2797 text on black 4.78:1 AA Lc -32.9 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 500.

  1. Step 50

    50

    #FEF2F7

    oklch(97.2% 0.014 350.1)

  2. Step 100

    100

    #FCE1ED

    oklch(93.5% 0.033 349.1)

  3. Step 200

    200

    #FAC9E0

    oklch(88.5% 0.063 348.6)

  4. Step 300

    300

    #F8A2CC

    oklch(80.9% 0.114 349.2)

  5. Step 400

    400

    #EF6AB2

    oklch(70.7% 0.181 349.1)

  6. Step 500

    500 (this color)

    #DC2797

    oklch(60.5% 0.232 349)

  7. Step 600

    600

    #CB0088

    oklch(55.6% 0.233 349.1)

  8. Step 700

    700

    #AC0073

    oklch(49.2% 0.206 349)

  9. Step 800

    800

    #8E005E

    oklch(42.7% 0.179 349.1)

  10. Step 900

    900

    #76084E

    oklch(37.8% 0.152 349.1)

  11. Step 950

    950

    #450B2E

    oklch(27% 0.095 348.5)

Export this scale for Tailwind in the Tailwind colors tool

#DC2797 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)#49649A0.262
Deuteranopia (no green cones)#7E83930.227
Tritanopia (no blue cones)#EC175E0.090
Achromatopsia (no color)#7878780.234

Harmonies

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

Complementary

The opposite hue (180°).

  • #DC2797

    #DC2797

    oklch(60.5% 0.232 349)

  • #009875

    #009875

    oklch(60.4% 0.121 169.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DC2797

    #DC2797

    oklch(60.5% 0.232 349)

  • #B941D7

    #B941D7

    oklch(60.5% 0.232 318.8)

  • #EC1C46

    #EC1C46

    oklch(60.5% 0.232 19.1)

Open the analogous palette in the generator

Split complementary

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

  • #DC2797

    #DC2797

    oklch(60.5% 0.232 349)

  • #379A00

    #379A00

    oklch(60.4% 0.19 138.9)

  • #009499

    #009499

    oklch(60.5% 0.103 199)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DC2797

    #DC2797

    oklch(60.5% 0.232 349)

  • #888700

    #888700

    oklch(60.4% 0.131 109.2)

  • #008EBA

    #008EBA

    oklch(60.5% 0.119 229)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DC2797

    #DC2797

    oklch(60.5% 0.232 349)

  • #A97700

    #A97700

    oklch(60.4% 0.125 79.2)

  • #009875

    #009875

    oklch(60.4% 0.121 169.1)

  • #1D7AFF

    #1D7AFF

    oklch(60.6% 0.215 258.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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