#C12D51

Closest named color: Ruby (#CA0147). oklch(54% 0.184 12.3), rgb(193, 45, 81).

Aa

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

About this color

#C12D51 is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.184 and its hue 12°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.031 away. White text reads best on it, at 5.58:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.184)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.76:1
White text5.58:1

Values

HEX#C12D51
RGBrgb(193, 45, 81)
HSLhsl(345, 62%, 47%)
OKLCHoklch(54% 0.184 12.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 #C12D51 5.58:1 AA Lc -81.8 Fine for body text
Black text on #C12D51 3.76:1 AA large text Lc 27.6 Dividers and decoration only
#C12D51 text on white 5.58:1 AA Lc 76.5 Fine for body text
#C12D51 text on black 3.76:1 AA large text Lc -25.2 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

    #FDF3F3

    oklch(97.2% 0.011 17.3)

  2. Step 100

    100

    #F9E4E5

    oklch(93.6% 0.023 14.3)

  3. Step 200

    200

    #F6CDD1

    oklch(88.4% 0.047 11.4)

  4. Step 300

    300

    #F1ABB2

    oklch(80.9% 0.083 12.5)

  5. Step 400

    400

    #E67B8A

    oklch(70.6% 0.133 12.2)

  6. Step 500

    500

    #DB556D

    oklch(63.1% 0.168 12.5)

  7. Step 600

    600 (this color)

    #C12D51

    oklch(54% 0.184 12.3)

  8. Step 700

    700

    #AB2346

    oklch(49.1% 0.171 12.1)

  9. Step 800

    800

    #8B2039

    oklch(42.7% 0.142 12.4)

  10. Step 900

    900

    #702231

    oklch(37.8% 0.11 12.7)

  11. Step 950

    950

    #42151D

    oklch(27% 0.07 12.3)

Export this scale for Tailwind in the Tailwind colors tool

#C12D51 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)#5655510.204
Deuteranopia (no green cones)#7B734D0.188
Tritanopia (no blue cones)#D3003C0.043
Achromatopsia (no color)#6868680.185

Harmonies

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

Complementary

The opposite hue (180°).

  • #C12D51

    #C12D51

    oklch(54% 0.184 12.3)

  • #007F7D

    #007F7D

    oklch(53.9% 0.092 192.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C12D51

    #C12D51

    oklch(54% 0.184 12.3)

  • #B1358B

    #B1358B

    oklch(54% 0.183 342.5)

  • #B84400

    #B84400

    oklch(54% 0.163 42.1)

Open the analogous palette in the generator

Split complementary

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

  • #C12D51

    #C12D51

    oklch(54% 0.184 12.3)

  • #00835A

    #00835A

    oklch(53.9% 0.117 162.7)

  • #007B98

    #007B98

    oklch(54% 0.1 221.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C12D51

    #C12D51

    oklch(54% 0.184 12.3)

  • #4B8000

    #4B8000

    oklch(54.1% 0.151 132.4)

  • #006FC9

    #006FC9

    oklch(54% 0.163 252.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C12D51

    #C12D51

    oklch(54% 0.184 12.3)

  • #7C7000

    #7C7000

    oklch(53.9% 0.113 102)

  • #007F7D

    #007F7D

    oklch(53.9% 0.092 192.8)

  • #6358D4

    #6358D4

    oklch(54% 0.184 282.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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