#C12D4A

Closest named color: Ruby (#CA0147). oklch(53.9% 0.183 15.3), rgb(193, 45, 74).

Aa

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

About this color

#C12D4A is a medium-dark, vivid red. In OKLCH its lightness is 54%, its chroma 0.183 and its hue 15°. 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.61:1.

Hue familyReds
Lightnessmedium-dark (54%)
Chromavivid (0.183)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.74:1
White text5.61:1

Values

HEX#C12D4A
RGBrgb(193, 45, 74)
HSLhsl(348, 62%, 47%)
OKLCHoklch(53.9% 0.183 15.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 #C12D4A 5.61:1 AA Lc -82.0 Fine for body text
Black text on #C12D4A 3.74:1 AA large text Lc 27.4 Dividers and decoration only
#C12D4A text on white 5.61:1 AA Lc 76.6 Fine for body text
#C12D4A text on black 3.74:1 AA large text Lc -25.1 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

    #FAE4E5

    oklch(93.7% 0.024 14.4)

  3. Step 200

    200

    #F6CECF

    oklch(88.6% 0.045 16.3)

  4. Step 300

    300

    #F1ABAF

    oklch(80.9% 0.083 15.3)

  5. Step 400

    400

    #E67C85

    oklch(70.7% 0.131 15.6)

  6. Step 500

    500

    #DC5567

    oklch(63.1% 0.169 15.4)

  7. Step 600

    600 (this color)

    #C12D4A

    oklch(53.9% 0.183 15.3)

  8. Step 700

    700

    #AC2440

    oklch(49.2% 0.171 15.2)

  9. Step 800

    800

    #8B2135

    oklch(42.7% 0.141 15.1)

  10. Step 900

    900

    #70222E

    oklch(37.7% 0.11 15.2)

  11. Step 950

    950

    #42151B

    oklch(27% 0.07 15.1)

Export this scale for Tailwind in the Tailwind colors tool

#C12D4A 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)#57544A0.203
Deuteranopia (no green cones)#7C73460.187
Tritanopia (no blue cones)#D400390.042
Achromatopsia (no color)#6868680.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #C12D4A

    #C12D4A

    oklch(53.9% 0.183 15.3)

  • #007F7F

    #007F7F

    oklch(54% 0.092 194.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C12D4A

    #C12D4A

    oklch(53.9% 0.183 15.3)

  • #B33386

    #B33386

    oklch(54% 0.184 345.2)

  • #B34900

    #B34900

    oklch(53.9% 0.154 45.2)

Open the analogous palette in the generator

Split complementary

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

  • #C12D4A

    #C12D4A

    oklch(53.9% 0.183 15.3)

  • #00825E

    #00825E

    oklch(53.8% 0.112 165.5)

  • #007A9B

    #007A9B

    oklch(53.9% 0.102 225.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C12D4A

    #C12D4A

    oklch(53.9% 0.183 15.3)

  • #408100

    #408100

    oklch(53.8% 0.158 135.3)

  • #006BD3

    #006BD3

    oklch(53.8% 0.18 255.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C12D4A

    #C12D4A

    oklch(53.9% 0.183 15.3)

  • #787100

    #787100

    oklch(53.8% 0.114 105.3)

  • #007F7F

    #007F7F

    oklch(54% 0.092 194.8)

  • #6956D2

    #6956D2

    oklch(54% 0.183 285.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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