#C51D6F

Closest named color: Medium Violet Red (#C71585). oklch(54.5% 0.206 358.3), rgb(197, 29, 111).

Aa

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

About this color

#C51D6F is a medium-dark, vivid red. In OKLCH its lightness is 55%, its chroma 0.206 and its hue 358°. Its hue sits on the warm side of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.036 away. White text reads best on it, at 5.55:1.

Hue familyReds
Lightnessmedium-dark (55%)
Chromavivid (0.206)
Temperaturewarm
Nearest nameMedium Violet Red (#C71585)
Black text3.77:1
White text5.55:1

Values

HEX#C51D6F
RGBrgb(197, 29, 111)
HSLhsl(331, 74%, 44%)
OKLCHoklch(54.5% 0.206 358.3)

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 #C51D6F 5.55:1 AA Lc -81.3 Fine for body text
Black text on #C51D6F 3.77:1 AA large text Lc 28.1 Dividers and decoration only
#C51D6F text on white 5.55:1 AA Lc 76.0 Fine for body text
#C51D6F text on black 3.77:1 AA large text Lc -25.8 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

    #FDF2F5

    oklch(97.1% 0.012 358.8)

  2. Step 100

    100

    #FAE3EA

    oklch(93.6% 0.027 357.2)

  3. Step 200

    200

    #F7CCD9

    oklch(88.6% 0.051 358.1)

  4. Step 300

    300

    #F2A8C0

    oklch(80.9% 0.092 358.3)

  5. Step 400

    400

    #E875A0

    oklch(70.6% 0.149 357.9)

  6. Step 500

    500

    #DE4B88

    oklch(63.2% 0.19 358.5)

  7. Step 600

    600 (this color)

    #C51D6F

    oklch(54.5% 0.206 358.3)

  8. Step 700

    700

    #AD1060

    oklch(49.1% 0.192 358.1)

  9. Step 800

    800

    #8D144E

    oklch(42.7% 0.16 358.4)

  10. Step 900

    900

    #711B41

    oklch(37.7% 0.124 358.1)

  11. Step 950

    950

    #431226

    oklch(27.1% 0.079 358.5)

Export this scale for Tailwind in the Tailwind colors tool

#C51D6F 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)#4854710.235
Deuteranopia (no green cones)#75736B0.209
Tritanopia (no blue cones)#D600450.068
Achromatopsia (no color)#6868680.208

Harmonies

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

Complementary

The opposite hue (180°).

  • #C51D6F

    #C51D6F

    oklch(54.5% 0.206 358.3)

  • #008370

    #008370

    oklch(54.6% 0.101 177.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C51D6F

    #C51D6F

    oklch(54.5% 0.206 358.3)

  • #AC32AB

    #AC32AB

    oklch(54.6% 0.207 328.3)

  • #CD201C

    #CD201C

    oklch(54.5% 0.206 28.3)

Open the analogous palette in the generator

Split complementary

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

  • #C51D6F

    #C51D6F

    oklch(54.5% 0.206 358.3)

  • #008736

    #008736

    oklch(54.4% 0.156 148.4)

  • #007F8D

    #007F8D

    oklch(54.6% 0.094 208.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C51D6F

    #C51D6F

    oklch(54.5% 0.206 358.3)

  • #6A7900

    #6A7900

    oklch(54.5% 0.127 118)

  • #0078AE

    #0078AE

    oklch(54.4% 0.122 238.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C51D6F

    #C51D6F

    oklch(54.5% 0.206 358.3)

  • #8B6B00

    #8B6B00

    oklch(54.4% 0.111 87.9)

  • #008370

    #008370

    oklch(54.6% 0.101 177.8)

  • #3F60E6

    #3F60E6

    oklch(54.6% 0.206 268.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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