#C12D7E

Closest named color: Medium Violet Red (#C71585). oklch(55.4% 0.196 352.3), rgb(193, 45, 126).

Aa

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

About this color

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

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

Values

HEX#C12D7E
RGBrgb(193, 45, 126)
HSLhsl(327, 62%, 47%)
OKLCHoklch(55.4% 0.196 352.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 #C12D7E 5.32:1 AA Lc -80.5 Fine for body text
Black text on #C12D7E 3.94:1 AA large text Lc 28.9 Dividers and decoration only
#C12D7E text on white 5.32:1 AA Lc 75.1 Fine for body text
#C12D7E text on black 3.94:1 AA large text Lc -26.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

    #FCF2F6

    oklch(97% 0.012 351)

  2. Step 100

    100

    #F9E3EB

    oklch(93.6% 0.026 353.5)

  3. Step 200

    200

    #F4CCDC

    oklch(88.4% 0.049 352.1)

  4. Step 300

    300

    #EEA9C6

    oklch(80.8% 0.089 352.4)

  5. Step 400

    400

    #E279A9

    oklch(70.7% 0.14 352.5)

  6. Step 500

    500

    #D75194

    oklch(63.2% 0.181 352.5)

  7. Step 600

    600 (this color)

    #C12D7E

    oklch(55.4% 0.196 352.3)

  8. Step 700

    700

    #A71E6B

    oklch(49.2% 0.183 352.3)

  9. Step 800

    800

    #871D57

    oklch(42.6% 0.15 352.2)

  10. Step 900

    900

    #6D1F48

    oklch(37.6% 0.118 351.9)

  11. Step 950

    950

    #40142A

    oklch(27% 0.074 352.1)

Export this scale for Tailwind in the Tailwind colors tool

#C12D7E 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)#495A800.220
Deuteranopia (no green cones)#73757B0.195
Tritanopia (no blue cones)#D01F520.071
Achromatopsia (no color)#6B6B6B0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #C12D7E

    #C12D7E

    oklch(55.4% 0.196 352.3)

  • #00876C

    #00876C

    oklch(55.5% 0.108 172.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C12D7E

    #C12D7E

    oklch(55.4% 0.196 352.3)

  • #A53EB4

    #A53EB4

    oklch(55.3% 0.196 322.4)

  • #CC2A39

    #CC2A39

    oklch(55.3% 0.196 22.3)

Open the analogous palette in the generator

Split complementary

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

  • #C12D7E

    #C12D7E

    oklch(55.4% 0.196 352.3)

  • #078C00

    #078C00

    oklch(55.5% 0.188 142.3)

  • #00838A

    #00838A

    oklch(55.5% 0.094 201.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C12D7E

    #C12D7E

    oklch(55.4% 0.196 352.3)

  • #757900

    #757900

    oklch(55.4% 0.123 112.1)

  • #007DA9

    #007DA9

    oklch(55.4% 0.113 232)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C12D7E

    #C12D7E

    oklch(55.4% 0.196 352.3)

  • #936B00

    #936B00

    oklch(55.4% 0.114 82.7)

  • #00876C

    #00876C

    oklch(55.5% 0.108 172.1)

  • #2D69E3

    #2D69E3

    oklch(55.4% 0.196 262.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #C12D7E.

Similar named colors

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

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