#C40B58

Closest named color: Ruby (#CA0147). oklch(53% 0.208 6.5), rgb(196, 11, 88).

Aa

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

About this color

#C40B58 is a medium-dark, vivid red. In OKLCH its lightness is 53%, its chroma 0.208 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.93:1.

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

Values

HEX#C40B58
RGBrgb(196, 11, 88)
HSLhsl(335, 89%, 41%)
OKLCHoklch(53% 0.208 6.5)

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 #C40B58 5.93:1 AA Lc -82.7 Fine for body text
Black text on #C40B58 3.53:1 AA large text Lc 26.7 Dividers and decoration only
#C40B58 text on white 5.93:1 AA Lc 77.4 Fine for body text
#C40B58 text on black 3.53:1 AA large text Lc -24.4 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

    #EC7591

    oklch(70.7% 0.149 6.8)

  6. Step 500

    500

    #E24977

    oklch(63.1% 0.191 6.3)

  7. Step 600

    600 (this color)

    #C40B58

    oklch(53% 0.208 6.5)

  8. Step 700

    700

    #B1084F

    oklch(49.1% 0.193 6.3)

  9. Step 800

    800

    #901141

    oklch(42.7% 0.16 6.3)

  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

#C40B58 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)#4A4E590.236
Deuteranopia (no green cones)#7770540.212
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°).

  • #C40B58

    #C40B58

    oklch(53% 0.208 6.5)

  • #007D74

    #007D74

    oklch(53.1% 0.093 186)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C40B58

    #C40B58

    oklch(53% 0.208 6.5)

  • #AF2497

    #AF2497

    oklch(52.9% 0.208 336.4)

  • #BC3500

    #BC3500

    oklch(53% 0.179 36.6)

Open the analogous palette in the generator

Split complementary

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

  • #C40B58

    #C40B58

    oklch(53% 0.208 6.5)

  • #00814C

    #00814C

    oklch(53.1% 0.128 156.5)

  • #00798F

    #00798F

    oklch(53.1% 0.094 216.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C40B58

    #C40B58

    oklch(53% 0.208 6.5)

  • #577900

    #577900

    oklch(53% 0.136 126.6)

  • #0070B6

    #0070B6

    oklch(53% 0.138 246.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C40B58

    #C40B58

    oklch(53% 0.208 6.5)

  • #7E6B00

    #7E6B00

    oklch(53% 0.109 96.8)

  • #007D74

    #007D74

    oklch(53.1% 0.093 186)

  • #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 #C40B58, closest first.

Similar named colors

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

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