#C12158

Closest named color: Ruby (#CA0147). oklch(53.3% 0.194 7.6), rgb(193, 33, 88).

Aa

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

About this color

#C12158 is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.194 and its hue 8°. Its hue sits on the warm side of the wheel. The nearest named color is Ruby (#CA0147), ΔE 0.028 away. White text reads best on it, at 5.79:1.

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.194)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.62:1
White text5.79:1

Values

HEX#C12158
RGBrgb(193, 33, 88)
HSLhsl(339, 71%, 44%)
OKLCHoklch(53.3% 0.194 7.6)

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 #C12158 5.79:1 AA Lc -82.6 Fine for body text
Black text on #C12158 3.62:1 AA large text Lc 26.8 Dividers and decoration only
#C12158 text on white 5.79:1 AA Lc 77.3 Fine for body text
#C12158 text on black 3.62:1 AA large text Lc -24.5 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

    #FDF2F4

    oklch(97% 0.012 4.7)

  2. Step 100

    100

    #FAE3E7

    oklch(93.6% 0.026 5.7)

  3. Step 200

    200

    #F7CDD3

    oklch(88.6% 0.048 8.4)

  4. Step 300

    300

    #F2A9B6

    oklch(80.8% 0.087 7.5)

  5. Step 400

    400

    #E87891

    oklch(70.6% 0.14 7.2)

  6. Step 500

    500

    #DE5076

    oklch(63.2% 0.179 7.5)

  7. Step 600

    600 (this color)

    #C12158

    oklch(53.3% 0.194 7.6)

  8. Step 700

    700

    #AD1A4E

    oklch(49% 0.181 7.3)

  9. Step 800

    800

    #8D1B40

    oklch(42.8% 0.15 7.6)

  10. Step 900

    900

    #711E36

    oklch(37.6% 0.117 7.4)

  11. Step 950

    950

    #431320

    oklch(27% 0.075 7)

Export this scale for Tailwind in the Tailwind colors tool

#C12158 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)#4F51590.218
Deuteranopia (no green cones)#7871540.199
Tritanopia (no blue cones)#D3003A0.051
Achromatopsia (no color)#6565650.196

Harmonies

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

Complementary

The opposite hue (180°).

  • #C12158

    #C12158

    oklch(53.3% 0.194 7.6)

  • #007E76

    #007E76

    oklch(53.4% 0.093 187)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C12158

    #C12158

    oklch(53.3% 0.194 7.6)

  • #AE2F94

    #AE2F94

    oklch(53.4% 0.194 337.5)

  • #BC3800

    #BC3800

    oklch(53.3% 0.176 37.5)

Open the analogous palette in the generator

Split complementary

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

  • #C12158

    #C12158

    oklch(53.3% 0.194 7.6)

  • #00824F

    #00824F

    oklch(53.4% 0.126 157.5)

  • #007A91

    #007A91

    oklch(53.4% 0.095 217.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C12158

    #C12158

    oklch(53.3% 0.194 7.6)

  • #567B00

    #567B00

    oklch(53.5% 0.139 127.6)

  • #0071BA

    #0071BA

    oklch(53.5% 0.142 247.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C12158

    #C12158

    oklch(53.3% 0.194 7.6)

  • #7E6C00

    #7E6C00

    oklch(53.2% 0.11 97.6)

  • #007E76

    #007E76

    oklch(53.4% 0.093 187)

  • #5757D9

    #5757D9

    oklch(53.3% 0.194 277.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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