#C40958

Closest named color: Ruby (#CA0147). oklch(52.9% 0.209 6.4), rgb(196, 9, 88).

Aa

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

About this color

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

Hue familyReds
Lightnessmedium-dark (53%)
Chromavivid (0.209)
Temperaturewarm
Nearest nameRuby (#CA0147)
Black text3.52:1
White text5.95:1

Values

HEX#C40958
RGBrgb(196, 9, 88)
HSLhsl(335, 91%, 40%)
OKLCHoklch(52.9% 0.209 6.4)

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 #C40958 5.95:1 AA Lc -82.7 Fine for body text
Black text on #C40958 3.52:1 AA large text Lc 26.6 Dividers and decoration only
#C40958 text on white 5.95:1 AA Lc 77.4 Fine for body text
#C40958 text on black 3.52:1 AA large text Lc -24.3 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

    #FEF2F4

    oklch(97.1% 0.013 5.8)

  2. Step 100

    100

    #FBE3E7

    oklch(93.6% 0.027 6.2)

  3. Step 200

    200

    #F9CCD3

    oklch(88.6% 0.052 7.7)

  4. Step 300

    300

    #F5A7B7

    oklch(80.8% 0.094 5.9)

  5. Step 400

    400

    #EC7491

    oklch(70.6% 0.15 6.5)

  6. Step 500

    500

    #E24977

    oklch(63.1% 0.191 6.3)

  7. Step 600

    600 (this color)

    #C40958

    oklch(52.9% 0.209 6.4)

  8. Step 700

    700

    #B1064F

    oklch(49% 0.194 6.2)

  9. Step 800

    800

    #901041

    oklch(42.7% 0.161 6.2)

  10. Step 900

    900

    #741A37

    oklch(37.8% 0.125 6.4)

  11. Step 950

    950

    #441120

    oklch(26.9% 0.079 6.3)

Export this scale for Tailwind in the Tailwind colors tool

#C40958 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)#494D590.238
Deuteranopia (no green cones)#7770540.213
Tritanopia (no blue cones)#D600340.061
Achromatopsia (no color)#6464640.210

Harmonies

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

Complementary

The opposite hue (180°).

  • #C40958

    #C40958

    oklch(52.9% 0.209 6.4)

  • #007C74

    #007C74

    oklch(52.8% 0.092 186.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C40958

    #C40958

    oklch(52.9% 0.209 6.4)

  • #AF2497

    #AF2497

    oklch(52.9% 0.208 336.4)

  • #BC3400

    #BC3400

    oklch(52.9% 0.18 36.3)

Open the analogous palette in the generator

Split complementary

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

  • #C40958

    #C40958

    oklch(52.9% 0.209 6.4)

  • #00804B

    #00804B

    oklch(52.8% 0.127 156.3)

  • #00788E

    #00788E

    oklch(52.8% 0.094 216.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C40958

    #C40958

    oklch(52.9% 0.209 6.4)

  • #577900

    #577900

    oklch(53% 0.136 126.6)

  • #0070B5

    #0070B5

    oklch(52.9% 0.137 246.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C40958

    #C40958

    oklch(52.9% 0.209 6.4)

  • #7E6B00

    #7E6B00

    oklch(53% 0.109 96.8)

  • #007C74

    #007C74

    oklch(52.8% 0.092 186.9)

  • #5353E0

    #5353E0

    oklch(52.9% 0.209 276.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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